X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftarget.mk;h=a8d3b2b2492969710f2051213f12f643f3ca79da;hb=77265e00c70a7f6c01d2bc68c3a41de34b18deb3;hp=427708e07fa95d0c3f06d06b2462698cbecbced0;hpb=ed90d50bc4cbbcf615f880c1799814ccf743de8c;p=openwrt%2Fstaging%2Fyousong.git diff --git a/include/target.mk b/include/target.mk index 427708e07f..a8d3b2b249 100644 --- a/include/target.mk +++ b/include/target.mk @@ -13,7 +13,7 @@ __target_inc=1 DEVICE_TYPE?=router # Default packages - the really basic set -DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd +DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch # For nas targets DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm # For router targets @@ -167,13 +167,8 @@ ifeq ($(DUMP),1) CPU_CFLAGS_mips32r2 = -mips32r2 -mtune=mips32r2 CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64 CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc - CPU_CFLAGS_24kec = -mips32r2 -mtune=24kec - CPU_CFLAGS_34kc = -mips32r2 -mtune=34kc CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc - CPU_CFLAGS_1004kc = -mips32r2 -mtune=1004kc CPU_CFLAGS_octeon = -march=octeon -mabi=64 - CPU_CFLAGS_dsp = -mdsp - CPU_CFLAGS_dsp2 = -mdspr2 endif ifeq ($(ARCH),i386) CPU_TYPE ?= i486 @@ -208,6 +203,7 @@ ifeq ($(DUMP),1) CPU_CFLAGS_8540:=-mcpu=8540 CPU_CFLAGS_405:=-mcpu=405 CPU_CFLAGS_440:=-mcpu=440 + CPU_CFLAGS_464fp:=-mcpu=464fp endif ifeq ($(ARCH),sparc) CPU_TYPE = sparc @@ -216,6 +212,7 @@ ifeq ($(DUMP),1) ifeq ($(ARCH),aarch64) CPU_TYPE ?= armv8-a CPU_CFLAGS_armv8-a = -mcpu=armv8-a + CPU_CFLAGS_cortex-a53 = -mcpu=cortex-a53 endif ifeq ($(ARCH),arc) CPU_TYPE ?= arc700 @@ -259,6 +256,9 @@ ifeq ($(DUMP),1) ifneq ($(CONFIG_RTC_CLASS),) FEATURES += rtc endif + ifneq ($(CONFIG_VIRTIO),) + FEATURES += virtio + endif FEATURES += $(foreach v,6 7,$(if $(CONFIG_CPU_V$(v)),arm_v$(v))) # remove duplicates