summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-08 19:55:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-08 19:55:42 +0000
commita9d683ca912b2c4837b2e65909c09ca01babe3df (patch)
tree6cbca6e13dd0bb18c9d9f1d4baa9a0ea7801b959 /package
parent4a2e4920b1d909ca254853b0dce46af3123e8f74 (diff)
downloadmtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.zip
mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.gz
mtk-20170518-a9d683ca912b2c4837b2e65909c09ca01babe3df.tar.bz2
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
Diffstat (limited to 'package')
-rw-r--r--package/acx/Makefile2
-rw-r--r--package/admswconfig/Makefile2
-rw-r--r--package/ar7-atm/Makefile2
-rw-r--r--package/base-files/Makefile7
-rw-r--r--package/bcm43xx-mac80211/Makefile2
-rw-r--r--package/broadcom-diag/Makefile4
-rw-r--r--package/broadcom-mmc/Makefile2
-rw-r--r--package/broadcom-wl/Makefile4
-rw-r--r--package/fonera-mp3-drv/Makefile2
-rw-r--r--package/fonera-mp3/Makefile2
-rw-r--r--package/foxboard-utils/Makefile2
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/ipset/Makefile2
-rw-r--r--package/nvram/Makefile2
-rw-r--r--package/switch/Makefile2
-rw-r--r--package/util-linux/Makefile2
-rw-r--r--package/wlcompat/Makefile4
-rw-r--r--package/yamonenv/Makefile2
18 files changed, 26 insertions, 21 deletions
diff --git a/package/acx/Makefile b/package/acx/Makefile
index e65e14e..77ec91b 100644
--- a/package/acx/Makefile
+++ b/package/acx/Makefile
@@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/acx
TITLE:=Driver for TI ACX1xx chipset
- DEPENDS:=@LINUX_2_6 @!TARGET_AVR32 +wireless-tools
+ DEPENDS:=@LINUX_2_6 @!TARGET_avr32 +wireless-tools
URL:=http://acx100.sourceforge.net/
SUBMENU:=Wireless Drivers
FILES:= $(PKG_BUILD_DIR)/acx.$(LINUX_KMOD_SUFFIX)
diff --git a/package/admswconfig/Makefile b/package/admswconfig/Makefile
index a6b0708..0faec37 100644
--- a/package/admswconfig/Makefile
+++ b/package/admswconfig/Makefile
@@ -22,7 +22,7 @@ define Package/admswconfig
SECTION:=utils
CATEGORY:=Utilities
TITLE:=ADM5120 Switch configuration tool
- DEPENDS:=@TARGET_ADM5120||TARGET_ADM5120EB
+ DEPENDS:=@TARGET_adm5120
URL:=http://sharon.esrac.ele.tue.nl/users/pe1rxq/linux-adm/admswconfig/
endef
diff --git a/package/ar7-atm/Makefile b/package/ar7-atm/Makefile
index 8286f3e..b9cba9e 100644
--- a/package/ar7-atm/Makefile
+++ b/package/ar7-atm/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/sangam-atm/Default
SUBMENU:=Network Devices
- DEPENDS:=@TARGET_AR7 +kmod-atm
+ DEPENDS:=@TARGET_ar7 +kmod-atm
TITLE:=AR7 ADSL driver
FILES:=$(PKG_BUILD_DIR)/tiatm.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,tiatm)
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index dcf0835..9b8478d 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -71,7 +71,7 @@ endef
define Package/libgcc
$(call Package/gcc/Default)
TITLE:=GCC support library
- DEPENDS:=@!TARGET_AVR32 @!NATIVE_TOOLCHAIN
+ DEPENDS:=@!TARGET_avr32 @!NATIVE_TOOLCHAIN
endef
define Package/libssp
@@ -123,6 +123,11 @@ define Package/base-files$(TARGET)/install
if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \
fi
+ $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
+ if [ -d $(PLATFORM_SUBDIR)/base-files/default/. ]; then \
+ $(CP) $(PLATFORM_SUBDIR)/base-files/default/* $(1)/; \
+ fi \
+ )
if [ "$(PROFILE)" != "Default" ]; then \
if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \
diff --git a/package/bcm43xx-mac80211/Makefile b/package/bcm43xx-mac80211/Makefile
index 34a1d76..12520a1 100644
--- a/package/bcm43xx-mac80211/Makefile
+++ b/package/bcm43xx-mac80211/Makefile
@@ -20,7 +20,7 @@ endif
define KernelPackage/bcm43xx-mac80211
SUBMENU:=Wireless Drivers
TITLE:=Broadcom 43xx wireless support
- DEPENDS:=@TARGET_BRCM47XX +kmod-mac80211
+ DEPENDS:=@TARGET_brcm47xx +kmod-mac80211
KCONFIG:=CONFIG_MAC80211
FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)
# AUTOLOAD:=$(call AutoLoad,30,bcm43xx-mac80211)
diff --git a/package/broadcom-diag/Makefile b/package/broadcom-diag/Makefile
index 1ba4abf..73401fc 100644
--- a/package/broadcom-diag/Makefile
+++ b/package/broadcom-diag/Makefile
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/diag
SUBMENU:=Other modules
- DEPENDS:=@TARGET_BRCM_2_4||TARGET_BRCM47XX
+ DEPENDS:=@TARGET_brcm_2_4||TARGET_brcm47xx
TITLE:=Driver for router LEDs and Buttons
FILES:=$(PKG_BUILD_DIR)/diag.$(LINUX_KMOD_SUFFIX)
endef
@@ -27,7 +27,7 @@ define Build/Prepare
endef
ifeq ($(BOARD),brcm-2.4)
- BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include $(if $(CONFIG_LINUX_2_4),-DLINUX_2_4)
+ BUILDFLAGS=-DBCMDRIVER -I$(LINUX_DIR)/arch/mips/bcm947xx/include -DLINUX_2_4
endif
define Build/Compile
diff --git a/package/broadcom-mmc/Makefile b/package/broadcom-mmc/Makefile
index 889bcfa..5bfc8a2 100644
--- a/package/broadcom-mmc/Makefile
+++ b/package/broadcom-mmc/Makefile
@@ -23,7 +23,7 @@ MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
define KernelPackage/broadcom-mmc
SUBMENU:=Other modules
- DEPENDS:=@TARGET_BRCM_2_4
+ DEPENDS:=@TARGET_brcm_2_4
TITLE:=Kernel driver for the Linksys WRT54G MM/SD-Card Mod
DESCRIPTION:=\
Kernel driver for the Linksys WRT54G MM/SD-Card Mod
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index 1a7da2d..f468646 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -25,13 +25,13 @@ define Package/broadcom-wl/Default
CATEGORY:=Kernel modules
DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo
SUBMENU:=Proprietary BCM43xx WiFi driver
- SUBMENUDEP:=@TARGET_BRCM_2_4
+ SUBMENUDEP:=@TARGET_brcm_2_4
endef
define KernelPackage/brcm-wl/Default
$(call Package/broadcom-wl/Default)
SECTION:=kernel
- DEPENDS:=@TARGET_BRCM_2_4
+ DEPENDS:=@TARGET_brcm_2_4
TITLE:=Kernel driver for BCM43xx chipsets
FILES:=$(PKG_BUILD_DIR)/kmod/wl$(1).o
AUTOLOAD:=$(call AutoLoad,30,wl$(1))
diff --git a/package/fonera-mp3-drv/Makefile b/package/fonera-mp3-drv/Makefile
index 60a45a7..1ce29e3 100644
--- a/package/fonera-mp3-drv/Makefile
+++ b/package/fonera-mp3-drv/Makefile
@@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/fonera-mp3-driver
SUBMENU:=Other modules
- DEPENDS:=@TARGET_ATHEROS
+ DEPENDS:=@TARGET_atheros
TITLE:=Fonera-MP3 driver (VS1011X)
FILES:=$(PKG_BUILD_DIR)/mp3_drv.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,25,mp3-drv)
diff --git a/package/fonera-mp3/Makefile b/package/fonera-mp3/Makefile
index db8146f..d7431ff 100644
--- a/package/fonera-mp3/Makefile
+++ b/package/fonera-mp3/Makefile
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/fonera-mp3d
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@TARGET_ATHEROS
+ DEPENDS:=@TARGET_atheros
TITLE:=Daemon for fonera-mp3
endef
diff --git a/package/foxboard-utils/Makefile b/package/foxboard-utils/Makefile
index 465e5c6..11fea9d 100644
--- a/package/foxboard-utils/Makefile
+++ b/package/foxboard-utils/Makefile
@@ -25,7 +25,7 @@ define Package/foxboard-utils
CATEGORY:=Base system
TITLE:=Foxboard base tools
URL:=http://www.acmesystems.it
- DEPENDS:=@TARGET_ETRAX
+ DEPENDS:=@TARGET_etrax
endef
define Package/foxboard-utils/description
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 76376f5..2e50620 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -36,7 +36,7 @@ endef
define Package/hostapd
$(call Package/hostapd/Default)
- DEPENDS:=+libopenssl @!TARGET_AVR32 @!TARGET_ETRAX
+ DEPENDS:=+libopenssl @!TARGET_avr32 @!TARGET_etrax
TITLE+= (full)
endef
diff --git a/package/ipset/Makefile b/package/ipset/Makefile
index 700b805..9f6326b 100644
--- a/package/ipset/Makefile
+++ b/package/ipset/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/ipset
SECTION:=net
CATEGORY:=Network
- DEPENDS:=@!TARGET_ETRAX
+ DEPENDS:=@!TARGET_etrax
TITLE:=Netfilter ip sets administration utility
URL:=http://ipset.netfilter.org/
endef
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index e053a43..cc1371e 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/nvram
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@TARGET_BRCM_2_4
+ DEPENDS:=@TARGET_brcm_2_4
TITLE:=Broadcom config utility
endef
diff --git a/package/switch/Makefile b/package/switch/Makefile
index cdf1f51..74e5778 100644
--- a/package/switch/Makefile
+++ b/package/switch/Makefile
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/switch
SUBMENU:=Other modules
- DEPENDS:=@TARGET_BRCM_2_4||TARGET_BRCM47XX
+ DEPENDS:=@TARGET_brcm_2_4||TARGET_brcm47xx
TITLE:=Switch drivers
FILES:= \
$(PKG_BUILD_DIR)/switch-core.$(LINUX_KMOD_SUFFIX) \
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index a4cfb90..2ea4c7e 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/util-linux/Default
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@!TARGET_ETRAX
+ DEPENDS:=@!TARGET_etrax
URL:=http://www.kernel.org/pub/linux/utils/util-linux/
endef
diff --git a/package/wlcompat/Makefile b/package/wlcompat/Makefile
index 482ec4a..308a696 100644
--- a/package/wlcompat/Makefile
+++ b/package/wlcompat/Makefile
@@ -16,8 +16,8 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/wlcompat/Default
SUBMENU:=Proprietary BCM43xx WiFi driver
- SUBMENUDEP:=@TARGET_BRCM_2_4
- DEPENDS:=@TARGET_BRCM_2_4 @PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo +wireless-tools
+ SUBMENUDEP:=@TARGET_brcm_2_4
+ DEPENDS:=@TARGET_brcm_2_4 @PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo +wireless-tools
TITLE:=Broadcom wl wrapper module
endef
diff --git a/package/yamonenv/Makefile b/package/yamonenv/Makefile
index 0cf6493..9a323c2 100644
--- a/package/yamonenv/Makefile
+++ b/package/yamonenv/Makefile
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/yamonenv
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=@TARGET_AU1000
+ DEPENDS:=@TARGET_au1000
TITLE:=YAMON configuration utility
URL:=http://meshcube.org/nylon/stable/sources/
endef