From 8da4498a2795894a0a32bb4a89e27e1fd112bee9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 28 Mar 2010 21:41:56 +0000 Subject: linux-atm: add the kernel include dir to the cflags and move the build dir to $(KERNEL_BUILD_DIR) to ensure that target specific ATM API changes are included SVN-Revision: 20556 --- package/linux-atm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index 07484c6..c8a18c3 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -6,6 +6,7 @@ # include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=linux-atm PKG_VERSION:=2.5.1 @@ -46,6 +47,8 @@ define Build/Configure touch $(PKG_BUILD_DIR)/stamp-h.in endef +TARGET_CFLAGS += -I$(LINUX_DIR)/include + define Build/Compile # src/qgen is built with HOSTCC, which does not really like our LDFLAGS $(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \ -- cgit v1.1