From: Felix Fietkau Date: Mon, 2 Jun 2008 15:50:59 +0000 (+0000) Subject: makefile cleanups, make sure that the build system cflags are used X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1aabe120973f1e891b9a4db8e2822ff74677c071;p=openwrt%2Fsvn-archive%2Fpackages.git makefile cleanups, make sure that the build system cflags are used SVN-Revision: 11328 --- diff --git a/lang/luaposix/Makefile b/lang/luaposix/Makefile index e563b6b3f..d61d68488 100644 --- a/lang/luaposix/Makefile +++ b/lang/luaposix/Makefile @@ -32,17 +32,8 @@ endef define Build/Configure endef -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC="$(TARGET_CROSS)gcc" \ - LD="$(TARGET_CROSS)ld" \ - AR="$(TARGET_CROSS)ar rcu" \ - RANLIB="$(TARGET_CROSS)ranlib" \ - INSTALL_ROOT=/usr \ - LUAINC=$(STAGING_DIR)/usr/include \ - OS=Linux - $(STRIP) $(PKG_BUILD_DIR)/posix.so -endef +MAKE_FLAGS += \ + OS=Linux define Package/luaposix/install $(INSTALL_DIR) $(1)/usr/lib/lua