X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/918559198d23ae63ca7c44f8dae8dcecb18a91bd..86154153a622f87b6cc6209e355351975c82efb4:/package/linux-atm/Makefile diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index 07484c675..fd92cc1ff 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,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