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
This commit is contained in:
parent
1c036e4c7e
commit
8da4498a27
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=linux-atm
|
PKG_NAME:=linux-atm
|
||||||
PKG_VERSION:=2.5.1
|
PKG_VERSION:=2.5.1
|
||||||
|
@ -46,6 +47,8 @@ define Build/Configure
|
||||||
touch $(PKG_BUILD_DIR)/stamp-h.in
|
touch $(PKG_BUILD_DIR)/stamp-h.in
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -I$(LINUX_DIR)/include
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS
|
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
|
$(MAKE) -C $(PKG_BUILD_DIR)/src/qgen \
|
||||||
|
|
Loading…
Reference in a new issue