projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kexec-tools: reduce size
[openwrt-github/.git]
/
package
/
boot
/
kexec-tools
/
Makefile
diff --git
a/package/boot/kexec-tools/Makefile
b/package/boot/kexec-tools/Makefile
index 541dca275ad09d45ddb83f561cde74a590bfb823..40ba9eb525bc7ce99375de7d4d359379d0142808 100644
(file)
--- 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)"