mirror_ubuntu-kernels/debian/snapcraft.mk

12 lines
363 B
Makefile

ifeq ($(ARCH),)
arch := $(shell uname -m | sed -e s/i.86/i386/ -e s/x86_64/amd64/ \
-e s/arm.*/armhf/ -e s/s390/s390x/ -e s/ppc.*/powerpc/ \
-e s/aarch64.*/arm64/ )
else ifeq ($(ARCH),arm)
arch := armhf
else
arch := $(ARCH)
endif
config:
python3 debian/scripts/misc/annotations --export --arch $(arch) --flavour $(flavour) >.config