[package] ppp:
[openwrt.git] / package / linux-atm / Makefile
index 07484c6..fd92cc1 100644 (file)
@@ -6,6 +6,7 @@
 #
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=linux-atm
 PKG_VERSION:=2.5.1
@@ -46,11 +47,13 @@ define Build/Configure
        touch $(PKG_BUILD_DIR)/stamp-h.in
 endef
 
+TARGET_CFLAGS += -I$(LINUX_DIR)/include -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include
+
 define Build/Compile
        # src/qgen is built with HOSTCC, which does not really like our LDFLAGS
        $(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
                LDFLAGS="" \
-               all 
+               all
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
This page took 0.025168 seconds and 4 git commands to generate.