fix a small bug in config.pl that tends to mess up kernel cmdlines
[openwrt.git] / package / util-linux / Makefile
index 8ca8052..ecabbc0 100644 (file)
@@ -56,6 +56,7 @@ define Package/swap-utils
        - swapoff
 endef
 
+TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
 define Build/Compile
        $(call Build/Compile/Default, \
                OPT="$(TARGET_CFLAGS)" \
@@ -70,7 +71,7 @@ define Package/Template
                rm -f $(PKG_BUILD_DIR)/.built; \
                $(MAKE) $(PKG_BUILD_DIR)/.built; \
        fi
-       install -d -m0755 $(2)
+       $(INSTALL_DIR) $(2)
        $(CP) $(PKG_INSTALL_DIR)/$(1) $(2)/
 endef
 
This page took 0.024192 seconds and 4 git commands to generate.