add INCLUDE_DIR variable for $(TOPDIR)/include
authorFelix Fietkau <nbd@openwrt.org>
Wed, 21 Jun 2006 02:32:39 +0000 (02:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 21 Jun 2006 02:32:39 +0000 (02:32 +0000)
SVN-Revision: 4033

62 files changed:
openwrt/include/kernel-build.mk
openwrt/include/modules-2.4.mk
openwrt/include/modules-2.6.mk
openwrt/package/alsa/Makefile
openwrt/package/base-files/Makefile
openwrt/package/bridge/Makefile
openwrt/package/broadcom-wl/Makefile
openwrt/package/busybox/Makefile
openwrt/package/diag/Makefile
openwrt/package/dnsmasq/Makefile
openwrt/package/dropbear/Makefile
openwrt/package/ebtables/Makefile
openwrt/package/fuse/Makefile
openwrt/package/haserl/Makefile
openwrt/package/hostap/Makefile
openwrt/package/hostapd/Makefile
openwrt/package/iproute2/Makefile
openwrt/package/ipsec-tools/Makefile
openwrt/package/ipset/Makefile
openwrt/package/iptables/Makefile
openwrt/package/libpcap/Makefile
openwrt/package/linux-atm/Makefile
openwrt/package/madwifi/Makefile
openwrt/package/mini_fo/Makefile
openwrt/package/mtd/Makefile
openwrt/package/nvram/Makefile
openwrt/package/openssl/Makefile
openwrt/package/openswan/Makefile
openwrt/package/pcmcia-cs/Makefile
openwrt/package/ppp/Makefile
openwrt/package/pptp/Makefile
openwrt/package/robocfg/Makefile
openwrt/package/shfs/Makefile
openwrt/package/spca5xx/Makefile
openwrt/package/switch/Makefile
openwrt/package/udev/Makefile
openwrt/package/ueagle-atm/Makefile
openwrt/package/util-linux/Makefile
openwrt/package/wireless-tools/Makefile
openwrt/package/wlcompat/Makefile
openwrt/package/zd1211/Makefile
openwrt/package/zlib/Makefile
openwrt/rules.mk
openwrt/target/linux/ar531x-2.4/Makefile
openwrt/target/linux/ar7-2.4/Makefile
openwrt/target/linux/aruba-2.6/Makefile
openwrt/target/linux/au1000-2.6/Makefile
openwrt/target/linux/brcm-2.4/Makefile
openwrt/target/linux/brcm-2.6/Makefile
openwrt/target/linux/image/ar7/Makefile
openwrt/target/linux/image/aruba/Makefile
openwrt/target/linux/image/au1000/Makefile
openwrt/target/linux/image/brcm/Makefile
openwrt/target/linux/image/generic/Makefile
openwrt/target/linux/image/rb532/Makefile
openwrt/target/linux/image/x86/Makefile
openwrt/target/linux/image/xscale/Makefile
openwrt/target/linux/rb532-2.6/Makefile
openwrt/target/linux/sibyte-2.6/Makefile
openwrt/target/linux/x86-2.4/Makefile
openwrt/target/linux/x86-2.6/Makefile
openwrt/target/linux/xscale-2.6/Makefile

index 9fbbe4504c1ee2a2379a593e3219d776f537a3b7..fc62127ca2641544d1eb7bba1f0aae55a773d7fd 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/modules-$(KERNEL).mk
+include $(INCLUDE_DIR)/modules-$(KERNEL).mk
 
 LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
 LINUX_SITE=http://www.us.kernel.org/pub/linux/kernel/v$(KERNEL) \
index 71864ad8eb795383488a92bdaf6cea69e0e781c2..553db03270fdbd6c68dc56b697424f3d0ff4426b 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/netfilter.mk
+include $(INCLUDE_DIR)/netfilter.mk
 
 # Networking
 
index ec9f5da44f48466ff89d20153746bf6e5c39485d..aada707fbcce245540d29851d5a4ee9f1b5fcfef 100644 (file)
@@ -1,5 +1,5 @@
 NF_2_6:=1
-include $(TOPDIR)/include/netfilter.mk
+include $(INCLUDE_DIR)/netfilter.mk
 
 # Networking
 
index 5f6a3305b5a6be7400ddd2ef21f45da2b920fcc0..7046bfee9273a2ad7df6f054ccf2897176bdc112 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=alsa-driver
 PKG_VERSION:=1.0.11
@@ -13,7 +13,7 @@ PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/driver/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_CAT:=bzcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 ifeq ($(LINUX_KARCH),i386)
 KERNEL_C_INCS:= -I$(LINUX_DIR)/include/asm-i386/mach-generic -I$(LINUX_DIR)/include/asm-i386/mach-default
index bb20894096017cbad1dc7c78177200431886f88a..7db0d0503cf840088f6682c52ff8624eed06da69 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
 PKG_RELEASE:=8
@@ -12,7 +12,7 @@ ifeq ($(REV),)
 REV:=0
 endif
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 ifneq ($(DUMP),1)
 TARGET:=-$(BOARD)-$(KERNEL)
index f2b178a6101d3195499668bca8e29f132af4286a..c3e682cc7f80f5104d8fad399158e062cf688215 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=@SF/bridge
 PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/bridge
 SECTION:=base
index 6fe22edb0f13babbe6af410e06be784aabe157a1..798394345277fbf4259ca3024e6858eef5e0951f 100644 (file)
@@ -1,7 +1,7 @@
 # $Id: Makefile 2480 2005-11-14 02:07:33Z nbd $
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=broadcom-wl
 PKG_VERSION:=4.80.9.2
@@ -14,7 +14,7 @@ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
 PKG_MD5SUM:=7d9fab2c611369bbe075c3924ea77450
 PKG_CAT:=bzcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-brcm-wl
   SECTION:=drivers
index 6b2e0c5be46bc1865e6043373c8b1c076ed957a4..b44412917572fe088bcdd3aa43b6adc1f53b9c27 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=http://www.busybox.net/downloads
 PKG_MD5SUM:=19a0b475169335f17e421cf644616fe7
 PKG_CAT:=bzcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/busybox
 SECTION:=base
index ab28e7218e61fa82cc04b34059e65333b25d6241..de6ab8d64f0d01cd736400708171b52cea41a239 100644 (file)
@@ -1,14 +1,14 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=kmod-diag
 PKG_RELEASE:=1
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-diag
 SECTION:=drivers
index a05ec0e22cbe8e1e7525076d1ede0c30979e2a08..09770dac28e00891f677986d5b1c858d5c6acba4 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
 PKG_MD5SUM:=489198ec87101087043adc98bbe062dc
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/dnsmasq
 SECTION:=base
index 0409e66dbf2800ec5cf2280b77bdc7c1bddcf073..b76d3dacf279c6678885edc9b6e3f23a94d855eb 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/
 PKG_MD5SUM:=ca8e53a766faec831882831364568421
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/dropbear
 SECTION:=base
index 814ac68a223024a2071e7930a488f713b54bc162..87f93defe7a2ea025354d02f279127522df04cbb 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=@SF/ebtables
 PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/ebtables
 SECTION:=base
index b7084236df840c9e782525eb2bcd09890ac61457..06777c8528a09b7c9250c63658c4edaee21c8321 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=fuse
 PKG_VERSION:=2.5.3
@@ -15,7 +15,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-fuse
 SECTION:=drivers
index ec940ea43764a15be44dba2dea7cd3d8b8ceefc4..53a28a7713201181a2d812b9152ea903515e6b13 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=@SF/haserl
 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/haserl
 SECTION:=base
index 21abfe256ba983883c1766256abd7e7558938b6c..612b2b72e06a5548a00b9db0b79e4229dc0d27a4 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=hostap-driver
 PKG_VERSION:=0.4.9
@@ -15,7 +15,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-hostap
 SECTION:=drivers
index 867cda6922b367b2e7e5248a87b238678750e114..7fc77f81a3d532003fac8e87d9d5be7833bf1cfa 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/hostapd
 SECTION:=net
index 9cf1eb9909e70ceceec1846907ce433b629dd7ab..bbbcc758c3ac58024ebded55b178ee7f0d664390 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/
 PKG_MD5SUM:=04f57a6d366d36426d276178b600f5c5
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/ip
 SECTION:=base
index 667884debea67ac2f4ff268cfd8ddfb00ce02d7e..5567036f83f65d445ba24c76e9d795aca7748a06 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=bzcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/ipsec-tools
 SECTION:=base
index d245090a6896f268d6bb0f7bac84b7eefe701a2f..0991148566caedc133d8d21350c2e85713f592d2 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=http://ipset.netfilter.org
 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
 PKG_CAT:=bzcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/ipset
 SECTION:=base
index 7490277440656b21e3ba66b4a815a25d956ff09b..f1a7de1f4b0532d5cda19b7283d39aaed0a41e6a 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=iptables
 PKG_VERSION:=1.3.5
@@ -20,10 +20,10 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
 PKG_MENU:=IPv4 / IPv6 firewall administration
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
 include $(LINUX_DIR)/.config
-include $(TOPDIR)/include/netfilter.mk
+include $(INCLUDE_DIR)/netfilter.mk
 endif
 
 define Package/iptables
index 2d7aecf55149376ebb851cb517fd591e1af5fd71..0ded09a90862bfae341f775e04a8a3a62722796d 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/libpcap
 SECTION:=base
index 15b3f7d4daad10b69e7c0e2808ef7b31173c97fd..48a94ed046a6364441b2f857ce4445e331b8033f 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=zcat
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/linux-atm
 SECTION:=libs
index 7bdb7ec11aa98fecbd42382b41d4c106b2438f44..57210c0dd065c21dbc029f1f68cd1064aebf228e 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=madwifi
 PKG_VERSION:=0.9.0
@@ -54,7 +54,7 @@ MADWIFI_MAKEOPTS= -C $(PKG_BUILD_DIR) \
                LDOPTS="" \
                DOMULTI=1
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 ifeq ($(findstring AHB,$(BUS)),AHB)
 define Build/Compile/ahb
index 0180f81c319127888e5933d46cfc723e5d03fbb5..2922908631d157c9623d10dfe596d4f29303c1db 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=mini_fo
 PKG_VERSION:=0.6.2pre1
@@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
 PKG_CAT:=bzcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-mini-fo
 SECTION:=drivers
index 01dfcd6b541f039e28b5501862ea3c0151a9ed7e..80409a908226df2ccf3a71bf28b9f69fc3c80246 100644 (file)
@@ -7,7 +7,7 @@ PKG_RELEASE:=4
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/mtd
 SECTION:=base
index cf76c7c812219820924149729a2c18571d873dd9..11e89363fc443500ffd423510c28c19fa7ba709c 100644 (file)
@@ -7,7 +7,7 @@ PKG_RELEASE:=1
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/nvram
 SECTION:=base
index 39fe6b4c3d9779fd89bd8b2530e176a3379c8b61..78e17a2195f3558090547e7fa6a3fe8899a3431b 100644 (file)
@@ -20,7 +20,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 OPENSSL_NO_CIPHERS:= no-idea no-md2 no-mdc2 no-rc5 no-sha0 no-rmd160 no-aes192
 OPENSSL_OPTIONS:= shared no-ec no-err no-fips no-hw no-krb5 no-threads zlib-dynamic no-engines
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/libopenssl
 SECTION:=base
index f81096547b9a13a76ad9854c6bbf7ce3450771dc..61aefe457b42a9952337fe3ec7b0e1b69ea2a602 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=openswan
 PKG_VERSION:=2.4.5
@@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://www.openswan.org/download
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-openswan
 SECTION:=drivers
index 2c7b229781ce24710492112832bde8e088d1d9dc..388b431ef02590f47573974e9084df6aac529b19 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/pcmcia-cs
 SECTION:=base
index edd9a5ea8660dcb00c0180b48716baf18e0d8c08..813b7227d274073d80c02aa8c615d8be6607ffe4 100644 (file)
@@ -15,7 +15,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/ppp
 SECTION:=net
index 6d01ce19f344cc55fe72990937e3d0153609b524..0478b4c2b88ad999218645132670574117ed4ce4 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=@SF/pptpclient
 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/pptp
 SECTION:=base
index ca0f83d3ddb70e3722349770728a4e4902159674..8451ac5a95148025e974ea51bbc0f6e02756ee94 100644 (file)
@@ -8,7 +8,7 @@ PKG_RELEASE:=1
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/robocfg
 SECTION:=base
index 057358b34d4b41c328b1763d2c7229901761df26..56176930154b21ab4872c5e70fd52b58abbf6ebb 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=shfs
 PKG_VERSION:=0.35
@@ -15,7 +15,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-shfs
 SECTION:=drivers
index 86233fc64a1dfcd02c41ffad1949c1f7aa5cded3..001a64f76d77ef8c32320910ab2d0ac15a330ac2 100644 (file)
@@ -1,7 +1,7 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=spca5xx
 PKG_VERSION:=20060301
@@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 #FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages
 define Package/kmod-spca5xx
index cb5f34674805d88bbace32a880e67899f0381be2..befae3410e40b94a7c178a570c41ffa33c741fc2 100644 (file)
@@ -1,14 +1,14 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=kmod-switch
 PKG_RELEASE:=1
 
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-switch
 SECTION:=drivers
index 5d397161b199c28ae9e839422798b2766a7aa865..0156115362924ae8cab5fe772d3756e76f5cee70 100644 (file)
@@ -19,7 +19,7 @@ PKG_CAT:=bzcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/udev
 SECTION:=base
index 6d003f6c0da14c73578bd4bd8f2c681636644d1d..6d9c739c3c57bc81d8d6b5fa5b079f9c801c6489 100644 (file)
@@ -1,7 +1,7 @@
 # $Id: Makefile 2767 2005-12-25 02:10:14Z wbx $
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=ueagle-atm
 PKG_VERSION:=1.0d1
@@ -15,7 +15,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 #FIXME: add dependency on kmod-usb-core
 define Package/kmod-ueagle-atm
index 673ade433f805878b41920e37070faf8e2ff45e5..798e3c85710325b11d99ae866de842b1853f9617 100644 (file)
@@ -16,7 +16,7 @@ PKG_CAT:=zcat
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/fdisk
 SECTION:=base
index 368d3ebb015d722c41102bcf33d5dacd27124509..5f1205884c5261953e7ae0db16ea84dffeee1bd7 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=zcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/wireless-tools
 SECTION:=base
index d5feede6c952964e0f333c2030a36792676613f3..e6ec27ee81fa3f5dc91fadd5974c9c1b87381aa0 100644 (file)
@@ -1,14 +1,14 @@
 # $Id$
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=kmod-wlcompat
 PKG_RELEASE:=3
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/kmod-wlcompat
 SECTION:=drivers
index 1c79922cfcaaa9ce735f4cf5ea671915525d6266..ba7308cc0171ba890c2af11d9b6d8ce328d41688 100644 (file)
@@ -1,7 +1,7 @@
 # $Id: Makefile 3297 2006-03-02 23:42:52Z florian $
 
 include $(TOPDIR)/rules.mk
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=zd1211
 PKG_VERSION:=r69
@@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
 PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
 PKG_CAT:=zcat
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 #FIXME: add proper dependency handling on kmod-usb-core packages
 define Package/kmod-zd1211
index 8e497c2f28c4ed26055b2f9e5943ad3806ae1c2a..6c560624f0d623c638fac09d28a7019a157d34cc 100644 (file)
@@ -14,7 +14,7 @@ PKG_CAT:=bzcat
 
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
 
-include $(TOPDIR)/include/package.mk
+include $(INCLUDE_DIR)/package.mk
 
 define Package/zlib
 SECTION:=base
index 79807e093dd64630d7c09d7a59cdd4c0e9b70eac..3f96d320e7bdedf5620876d1b794f3051aaa4baa 100644 (file)
@@ -46,6 +46,7 @@ TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
 OPTIMIZE_FOR_CPU=$(ARCH)
 HOSTCC:=gcc
 BASE_DIR:=$(TOPDIR)
+INCLUDE_DIR:=$(TOPDIR)/include
 DL_DIR:=$(BASE_DIR)/dl
 BUILD_DIR:=$(BASE_DIR)/build_$(ARCH)
 STAGING_DIR:=$(BASE_DIR)/staging_dir_$(ARCH)
index 96a32848e7c6f4743dd45773ab1c662c61a35cf7..b33898754b67c003499cd9f10098fdeaf9f7a8cd 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index c8688da044e946f24bd2414b7bbe71e352a24547..02a553a1eea10c3d7fb550fcd404383e76c74635 100644 (file)
@@ -5,7 +5,7 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 ATM_FIRMWARE_VERSION:=0.4
 ATM_FIRMWARE_DIR=sangam-atm-firmware-$(ATM_FIRMWARE_VERSION)
@@ -26,7 +26,7 @@ $(eval $(call KMOD_template,CPMAC,cpmac,\
        $(MODULES_DIR)/kernel/drivers/net/avalanche_cpmac/avalanche_cpmac.o \
 ,CONFIG_MIPS_AVALANCHE_CPMAC,,10,avalanche_cpmac))
 
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
index 652e4b91328750efb6ef7c48acb4f322010ebab5..4d7955b1031fa9780cc4868e943e10003040afbe 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE)
index b1ca0fee3447c5a77596e6ff289d7adf3c9391da..a301fabcfe1b1021ad1825882b00a6c7d1fe6c5b 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index 20a6210666a7ad91b477e50e29b2a4c2fd87af94..7945db91715aea3bbcc3da7a0497dfb89e0c13a5 100644 (file)
@@ -5,7 +5,7 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 # broadcom specific kmod packages
 $(eval $(call KMOD_template,LP,lp,\
@@ -15,7 +15,7 @@ $(eval $(call KMOD_template,LP,lp,\
        $(MODULES_DIR)/kernel/drivers/char/ppdev.o \
 ,CONFIG_PARPORT,,50,parport parport_splink lp))
 
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
index a3b8177c203beff24aea9bbfdb60b84a7dca7883..35a778fdf25c39ff3c0f6916ff240777f9b7c532 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
index 4b22f90df26d015359e6ff88e0a7292885431d2a..a98f53efb6f40f64e295edcf4fb33c9e92318f4e 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/ar7loader
 
index 5091d3f40cd3d06f20ef8026a5e7ab2e506f3627..7c735b5cdbd34a34bf5d1adbf827290659130b70 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 LOADADDR = 0x81000000          # RAM start + 16M 
 KERNEL_ENTRY = 0x80100000
index 682670a22c317af57c9d68151844f6f6b91ae58b..956d6738e330d637c76c4edee1d30a0058d93cce 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 LOADADDR = 0x8108c8f4          # RAM start + 16M 
 KERNEL_ENTRY = 0x80100000      # Default kernel entry in arch/mips/Makefile
index d219dc354b35d59808485a619a4931ccd90c9824..e4ccffdb6527ff3c77fc861d393c6671a2d14e17 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 define Build/Compile
        rm -f $(KDIR)/loader.gz
index b9efc95b9bea6fd97e7cdeb46177fa090cbea7e8..a11574b3b4520ec86ee038c2695932a97fb8af75 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 # use default targets for everything
 
index 53adfc432f704d28dfc48712e00c0a300c7e0f1c..b589f045be854f4a4c0bef87338df38ebdc5a629 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 LOADADDR = 0x81000000          # RAM start + 16M 
 KERNEL_ENTRY = 0x80101000
index d76294f1504a5ec6fe3f1044f30af3cecef2d2be..94d1dade1157c6aab43199b1b0be90e24afc710f 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 define Image/Build
        cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
index d94d7f07cabadadd0a55d395a4972cde33d0c006..ba203705e1bd13c182437cc9b2c570046c325f44 100644 (file)
@@ -1,4 +1,4 @@
-include $(TOPDIR)/include/image.mk
+include $(INCLUDE_DIR)/image.mk
 
 define Image/Build
 ifneq ($(FS),jffs2-64k)
index 4b0901987fc547718e12f54366506fe3b9361d90..11e34e7910bb6083972bbaa7526ac92fd8f7ab9f 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index 4b0901987fc547718e12f54366506fe3b9361d90..11e34e7910bb6083972bbaa7526ac92fd8f7ab9f 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index a6208dbbbb5fc764c12e21dac34a39464e511faa..8a690afd0120935264fd951ed77de4632ac021bf 100644 (file)
@@ -5,13 +5,13 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 $(eval $(call KMOD_template,WD1100,wd1100,\
        $(MODULES_DIR)/kernel/drivers/char/wd1100.o \
 ,CONFIG_WD1100))
 
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index ab88d58dfb03beb7544d5bd1c9812f5e009f96c2..04b13a3908cf941320a83d17f049505c8579004c 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
index a4d93efc5fb818f84eeaabcb1231e4d6c1a83bb2..bd17ba76456173828a58e0900e7298d16221501b 100644 (file)
@@ -5,8 +5,8 @@ LINUX_RELEASE:=1
 LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e
 
 include ./config
-include $(TOPDIR)/include/kernel.mk
-include $(TOPDIR)/include/kernel-build.mk
+include $(INCLUDE_DIR)/kernel.mk
+include $(INCLUDE_DIR)/kernel-build.mk
 
 $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
        [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches