X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/41d06d84ec0232013b7968ea2bcf268c954cdcbf..db273bc36e951025393256e94b14310b5ead8da2:/include/target.mk diff --git a/include/target.mk b/include/target.mk index 52dedcc75..e1f4dc6ca 100644 --- a/include/target.mk +++ b/include/target.mk @@ -20,10 +20,6 @@ DEFAULT_PACKAGES.bootloader:= # Add device specific packages DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) -# Add metapackages for menu groups that a) don't build or install anything, and b) prevent other packages from -# appearing in the package list if they are not selected -DEFAULT_PACKAGES += coreutils - ifneq ($(DUMP),) all: dumpinfo endif @@ -161,17 +157,17 @@ ifeq ($(DUMP),1) # remove duplicates FEATURES:=$(sort $(FEATURES)) endif - DEFAULT_CFLAGS_i386=-O2 -pipe -march=i486 -funit-at-a-time - DEFAULT_CFLAGS_x86_64=-O2 -pipe -march=athlon64 -funit-at-a-time - DEFAULT_CFLAGS_m68k=-Os -pipe -mcfv4e -funit-at-a-time - DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time + DEFAULT_CFLAGS_i386=-O2 -pipe -march=i486 -fno-caller-saves + DEFAULT_CFLAGS_x86_64=-O2 -pipe -march=athlon64 -fno-caller-saves + DEFAULT_CFLAGS_m68k=-Os -pipe -mcfv4e -fno-caller-saves + DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -fno-caller-saves DEFAULT_CFLAGS_mipsel=$(DEFAULT_CFLAGS_mips) - DEFAULT_CFLAGS_mips64=-Os -pipe -mips64 -mtune=mips64 -mabi=64 -funit-at-a-time + DEFAULT_CFLAGS_mips64=-Os -pipe -mips64 -mtune=mips64 -mabi=64 -fno-caller-saves DEFAULT_CFLAGS_mips64el=$(DEFAULT_CFLAGS_mips64) - DEFAULT_CFLAGS_sparc=-Os -pipe -mcpu=ultrasparc -funit-at-a-time - DEFAULT_CFLAGS_arm=-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time + DEFAULT_CFLAGS_sparc=-Os -pipe -mcpu=ultrasparc -fno-caller-saves + DEFAULT_CFLAGS_arm=-Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves DEFAULT_CFLAGS_armeb=$(DEFAULT_CFLAGS_arm) - DEFAULT_CFLAGS=$(if $(DEFAULT_CFLAGS_$(ARCH)),$(DEFAULT_CFLAGS_$(ARCH)),-Os -pipe -funit-at-a-time) + DEFAULT_CFLAGS=$(if $(DEFAULT_CFLAGS_$(ARCH)),$(DEFAULT_CFLAGS_$(ARCH)),-Os -pipe -fno-caller-saves) endif define BuildTargets/DumpCurrent