X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fboot%2Fkexec-tools%2FMakefile;h=40ba9eb525bc7ce99375de7d4d359379d0142808;hb=6a1c210ea78738d971b8fd9b99fa91bb177297bd;hp=541dca275ad09d45ddb83f561cde74a590bfb823;hpb=4dc34e5cc4df6c1bb2974d0903c8053a0cb87598;p=openwrt-github%2F.git diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile index 541dca275a..40ba9eb525 100644 --- a/package/boot/kexec-tools/Makefile +++ b/package/boot/kexec-tools/Makefile @@ -56,6 +56,9 @@ CONFIGURE_ARGS = \ --sysconfdir=/etc \ $(if $(CONFIG_KEXEC_ZLIB),--with,--without)-zlib +TARGET_CFLAGS += -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections + CONFIGURE_VARS += \ BUILD_CC="$(HOSTCC)" \ TARGET_CC="$(TARGET_CC)"