fix lantiq image makefile to represent new split between ar9 and danube

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27537 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2011-07-07 18:20:31 +00:00
parent e5333d9059
commit 93a8f2cb57
1 changed files with 20 additions and 9 deletions

View File

@ -136,14 +136,6 @@ define Image/Build/Profile/ARV752DPW22
$(call Image/Build/$(1),$(1),ARV752DPW22) $(call Image/Build/$(1),$(1),ARV752DPW22)
endef endef
define Image/BuildKernel/Profile/DGN3500B
$(call Image/BuildKernel/Template,DGN3500B,$(xway_cmdline))
endef
define Image/Build/Profile/DGN3500B
$(call Image/Build/$(1),$(1),DGN3500B)
endef
define Image/BuildKernel/Profile/GIGASX76X define Image/BuildKernel/Profile/GIGASX76X
$(call Image/BuildKernel/Template,GIGASX76X,$(xway_cmdline)) $(call Image/BuildKernel/Template,GIGASX76X,$(xway_cmdline))
endef endef
@ -166,7 +158,6 @@ define Image/BuildKernel/Profile/Generic
$(call Image/BuildKernel/Template,ARV752DPW,$(xway_cmdline)) $(call Image/BuildKernel/Template,ARV752DPW,$(xway_cmdline))
$(call Image/BuildKernel/Template,ARV752DPW22,$(xway_cmdline)) $(call Image/BuildKernel/Template,ARV752DPW22,$(xway_cmdline))
$(call Image/BuildKernel/Template,GIGASX76X,$(xway_cmdline)) $(call Image/BuildKernel/Template,GIGASX76X,$(xway_cmdline))
$(call Image/BuildKernel/Template,DGN3500B,$(xway_cmdline))
$(call Image/BuildKernel/Template,NONE) $(call Image/BuildKernel/Template,NONE)
endef endef
@ -184,6 +175,26 @@ define Image/Build/Profile/Generic
$(call Image/Build/$(1),$(1),ARV752DPW) $(call Image/Build/$(1),$(1),ARV752DPW)
$(call Image/Build/$(1),$(1),ARV752DPW22) $(call Image/Build/$(1),$(1),ARV752DPW22)
$(call Image/Build/$(1),$(1),GIGASX76X) $(call Image/Build/$(1),$(1),GIGASX76X)
$(call Image/Build/$(1),$(1),NONE)
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).rootfs
endef
endif
ifeq ($(CONFIG_TARGET_lantiq_ar9),y)
define Image/BuildKernel/Profile/DGN3500B
$(call Image/BuildKernel/Template,DGN3500B,$(xway_cmdline))
endef
define Image/Build/Profile/DGN3500B
$(call Image/Build/$(1),$(1),DGN3500B)
endef
define Image/BuildKernel/Profile/Generic
$(call Image/BuildKernel/Template,DGN3500B,$(xway_cmdline))
$(call Image/BuildKernel/Template,NONE)
endef
define Image/Build/Profile/Generic
$(call Image/Build/$(1),$(1),DGN3500B) $(call Image/Build/$(1),$(1),DGN3500B)
$(call Image/Build/$(1),$(1),NONE) $(call Image/Build/$(1),$(1),NONE)
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).rootfs $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).rootfs