From 53ad80a2da9232db8bda4ad5187ecaac455e5fdd Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 31 Jul 2007 10:31:53 +0000 Subject: [PATCH] libamsel: cleanup, fix cflags git-svn-id: svn://svn.openwrt.org/openwrt/packages@8268 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libamsel/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libs/libamsel/Makefile b/libs/libamsel/Makefile index a0da70ca5..09291dc0e 100644 --- a/libs/libamsel/Makefile +++ b/libs/libamsel/Makefile @@ -34,15 +34,11 @@ endef define Build/Configure endef -define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - LDIR=$(PKG_BUILD_DIR) \ - PREFIX="$(PKG_INSTALL_DIR)/usr" \ - all install -endef +MAKE_FLAGS += \ + CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)" \ + LDIR=$(PKG_BUILD_DIR) \ + PREFIX="$(PKG_INSTALL_DIR)/usr" \ + all install define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/include