projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e22de08
)
tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default
author
Toni Uhlig
<matzeton@googlemail.com>
Fri, 2 Mar 2018 17:37:42 +0000
(18:37 +0100)
committer
Yousong Zhou
<yszhou4tech@gmail.com>
Tue, 6 Mar 2018 03:50:15 +0000
(11:50 +0800)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
utils/tree/Makefile
patch
|
blob
|
history
diff --git
a/utils/tree/Makefile
b/utils/tree/Makefile
index b7ff3d438a7d32fae417678dff4a196a726a2f6c..c6d5654b5dcbb3f856f8cf5056112576fdc9d153 100644
(file)
--- a/
utils/tree/Makefile
+++ b/
utils/tree/Makefile
@@
-25,6
+25,10
@@
define Package/tree
DEPENDS:=+libc +libgcc
endef
+MAKE_FLAGS += \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)"
+
define Package/tree/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/