X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Ftarget.mk;h=db501e06c760f296dc143604f60336a978921579;hb=402e3311b28267ce554fe977a72feddf6cb0b3a4;hp=3401f849a5fdd3980b4edd938eee786d0df4eab1;hpb=d891a77d2413cc2ef2796de98e019de30deb58cf;p=openwrt.git diff --git a/include/target.mk b/include/target.mk index 3401f849a5..db501e06c7 100644 --- a/include/target.mk +++ b/include/target.mk @@ -13,6 +13,8 @@ DEVICE_TYPE?=router # Default packages - the really basic set DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools +# For nas targets +DEFAULT_PACKAGES.nas:=block-mount fdisk lvm2 lsblk mdadm # For router targets DEFAULT_PACKAGES.router:=dnsmasq iptables ip6tables ppp ppp-mod-pppoe kmod-nf-nathelper firewall odhcpd odhcp6c DEFAULT_PACKAGES.bootloader:= @@ -252,6 +254,10 @@ ifeq ($(DUMP),1) CPU_TYPE = sparc CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc endif + ifeq ($(ARCH),aarch64) + CPU_TYPE ?= armv8-a + CPU_CFLAGS_armv8-a = -mcpu=armv8-a + endif DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE))) endif