From bbe1e39616ea9682e2bff423a994f386fca0e617 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 21 Jan 2007 02:14:50 +0000 Subject: pass the CFLAGS through the environment on compile and fix a few packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6154 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/linux-atm/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'package/linux-atm') diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index 9aae0a0b0..7691c1149 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -51,11 +51,12 @@ define Build/Configure touch $(PKG_BUILD_DIR)/stamp-h.in endef +TARGET_CFLAGS := -I$(PKG_BUILD_DIR)/src/include $(TARGET_CFLAGS) define Build/Compile - $(call Build/Compile/Default, \ + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ DESTDIR="$(PKG_INSTALL_DIR)" \ - all install \ - ) + all install endef define Build/InstallDev -- cgit v1.2.3