- swapoff
endef
+TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
define Build/Compile
$(call Build/Compile/Default, \
OPT="$(TARGET_CFLAGS)" \
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