1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 06:53:08 +02:00

adapt profiles for subtarget changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-09-08 20:04:43 +00:00
parent 6db7ad74f6
commit ceee90ffd2
21 changed files with 6 additions and 61 deletions

View File

@ -70,13 +70,17 @@ define Profile
getvar "$(call shvar,Profile/$(1)/Description)"; \ getvar "$(call shvar,Profile/$(1)/Description)"; \
echo "@@"; \ echo "@@"; \
echo; echo;
ifeq ($(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(if $(2),$(2)_)$(1))),y) ifeq ($(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(if $(SUBTARGET),$(SUBTARGET)_)$(1))),y)
PROFILE=$(1) PROFILE=$(1)
endif endif
endef endef
$(eval $(call shexport,Target/Description)) -include $(PLATFORM_DIR)/profiles/*.mk
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
-include $(PLATFORM_SUBDIR)/profiles/*.mk
endif
$(eval $(call shexport,Target/Description))
include $(INCLUDE_DIR)/kernel-version.mk include $(INCLUDE_DIR)/kernel-version.mk

View File

@ -20,7 +20,4 @@ endef
KERNELNAME:="uImage" KERNELNAME:="uImage"
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -19,7 +19,4 @@ define Target/Description
Build firmware images for the AMCC Taishan evaluation board Build firmware images for the AMCC Taishan evaluation board
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -19,6 +19,4 @@ define Target/Description
Build firmware images for TI AR7 based routers Build firmware images for TI AR7 based routers
endef endef
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -22,7 +22,4 @@ define Target/Description
Build fimware images for Figment Design Labs VersaLink board. Build fimware images for Figment Design Labs VersaLink board.
endef endef
#include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -21,7 +21,4 @@ define Target/Description
Build firmware images for Atheros SoC boards Build firmware images for Atheros SoC boards
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -27,8 +27,5 @@ define Kernel/BuildImage
$(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec $(CP) $(LINUX_DIR)/arch/mips/boot/compressed/images/zImage.srec $(LINUX_DIR)/zImage.srec
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -18,7 +18,4 @@ define Target/Description
Build firmware images for ATNGW100 board Build firmware images for ATNGW100 board
endef endef
#include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -22,7 +22,4 @@ define Target/Description
(e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G) (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -21,7 +21,4 @@ define Target/Description
(e.g. Netgear WGT634U) (e.g. Netgear WGT634U)
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -19,7 +19,4 @@ define Target/Description
(e.g. Inventel Livebox, Siemens SE515) (e.g. Inventel Livebox, Siemens SE515)
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -34,9 +34,6 @@ define Kernel/Prepare
$(call Kernel/Prepare/Fox) $(call Kernel/Prepare/Fox)
endef endef
#include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))
$(eval $(call RequireCommand,/usr/local/cris/gcc-cris, \ $(eval $(call RequireCommand,/usr/local/cris/gcc-cris, \
Please install the binary cris toolchain. \ Please install the binary cris toolchain. \

View File

@ -15,7 +15,4 @@ LINUX_VERSION:=2.6.21.5
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -15,7 +15,4 @@ LINUX_VERSION:=2.6.21.6
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -15,7 +15,4 @@ LINUX_VERSION:=2.6.22.4
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -19,7 +19,4 @@ define Target/Description
Stub for boards based on intel PXA Stub for boards based on intel PXA
endef endef
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -15,7 +15,4 @@ LINUX_VERSION:=2.6.22.4
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -32,7 +32,4 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
endef endef
endif endif
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -15,7 +15,4 @@ LINUX_VERSION:=2.6.21.5
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -27,9 +27,6 @@ LINUX_VERSION:=2.6.22.4
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
# include the profiles
-include profiles/*.mk
endif endif
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -16,8 +16,5 @@ LINUX_VERSION:=2.6.22.4
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci
# include the profiles
-include profiles/*.mk
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))