Sfoglia il codice sorgente

Build: PXA: Fix TrizepsIV build variants

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Marek Vasut 14 anni fa
parent
commit
7c957c0e74
4 ha cambiato i file con 4 aggiunte e 13 eliminazioni
  1. 1 4
      MAKEALL
  2. 0 8
      Makefile
  3. 1 1
      board/trizepsiv/conxs.c
  4. 2 0
      boards.cfg

+ 1 - 4
MAKEALL

@@ -468,10 +468,7 @@ LIST_at91="			\
 ## Xscale Systems
 #########################################################################
 
-LIST_pxa="$(boards_by_cpu pxa)
-	polaris		\
-	trizepsiv	\
-"
+LIST_pxa="$(boards_by_cpu pxa)"
 
 LIST_ixp="$(boards_by_cpu ixp)
 	pdnb3		\

+ 0 - 8
Makefile

@@ -1010,14 +1010,6 @@ scpu_config:	unconfig
 	fi
 	@$(MKCONFIG) -n $@ -a pdnb3 arm ixp pdnb3 prodrive
 
-polaris_config \
-trizepsiv_config	:	unconfig
-	@mkdir -p $(obj)include
-	@if [ "$(findstring polaris,$@)" ] ; then \
-		echo "#define CONFIG_POLARIS 1"	>>$(obj)include/config.h ; \
-	fi;
-	@$(MKCONFIG) -n $@ -a trizepsiv arm pxa trizepsiv
-
 #########################################################################
 ## ARM1136 Systems
 #########################################################################

+ 1 - 1
board/trizepsiv/conxs.c

@@ -45,7 +45,7 @@ extern struct serial_device serial_ffuart_device;
 extern struct serial_device serial_btuart_device;
 extern struct serial_device serial_stuart_device;
 
-#if CONFIG_POLARIS
+#if CONFIG_MK_POLARIS
 #define BOOT_CONSOLE	"serial_stuart"
 #else
 #define BOOT_CONSOLE	"serial_ffuart"

+ 2 - 0
boards.cfg

@@ -63,6 +63,8 @@ lubbock		arm	pxa
 palmld		arm	pxa
 palmtc		arm	pxa
 pleb2		arm	pxa
+polaris		arm	pxa		trizepsiv	-		-		trizepsiv:POLARIS
+trizepsiv	arm	pxa
 vpac270_nor_128	arm	pxa		vpac270		-		-		vpac270:NOR,RAM_128M
 vpac270_nor_256	arm	pxa		vpac270		-		-		vpac270:NOR,RAM_256M
 vpac270_ond_256	arm	pxa		vpac270		-		-		vpac270:ONENAND,RAM_256M