tree: use TARGET_{CFLAGS,LDFLAGS} instead of the package default

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2018-03-02 18:37:42 +01:00 committed by Yousong Zhou
parent e22de081f9
commit bab87417c9
1 changed files with 4 additions and 0 deletions

View File

@ -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/