X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Ftarget.mk;h=eca218e0b370ee9649fae694be90fa57a8a5786c;hb=9c5efa1ea2f7d4e6fdd20d1c05258993e3653287;hp=e00fcef3bed9107ea69f2220fc86e8d9d48f0224;hpb=074ff5ea88ecf6b08733efb4ff26d8a6edb056ef;p=15.05%2Fopenwrt.git diff --git a/include/target.mk b/include/target.mk index e00fcef3be..eca218e0b3 100644 --- a/include/target.mk +++ b/include/target.mk @@ -167,6 +167,9 @@ ifeq ($(DUMP),1) .SILENT: $(TMP_CONFIG) .PRECIOUS: $(TMP_CONFIG) + ifneq ($(CONFIG_OF),) + FEATURES += dt + endif ifneq ($(CONFIG_GENERIC_GPIO)$(CONFIG_GPIOLIB),) FEATURES += gpio endif @@ -228,8 +231,10 @@ ifeq ($(DUMP),1) CPU_CFLAGS_fa526 = -march=armv4 -mtune=fa526 CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore CPU_CFLAGS_xscale = -march=armv5te -mtune=xscale - CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp - CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 -mfloat-abi=softfp + ifneq ($(CONFIG_SOFT_FLOAT),) + CPU_CFLAGS_vfp = -mfpu=vfp + CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 + endif endif ifeq ($(ARCH),powerpc) CPU_CFLAGS_603e:=-mcpu=603e