adapt profiles for subtarget changes

SVN-Revision: 8695
This commit is contained in:
Felix Fietkau 2007-09-08 20:04:43 +00:00
parent a9d683ca91
commit 87a88cebc7
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))