]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
New boards DP405, HUB405, PLU405, VOH405 added.
[karo-tx-uboot.git] / Makefile
index e755928d4c58c64bb08872bb788bdd3fe00c8fd5..300f37e0d6079d126e835330c978296a830dfb3f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,7 @@ SUBDIRS       = tools \
          rtc \
          dtt \
          drivers \
+         drivers/sk98lin \
          post \
          post/cpu \
          examples
@@ -112,9 +113,12 @@ LIBS += disk/libdisk.a
 LIBS += rtc/librtc.a
 LIBS += dtt/libdtt.a
 LIBS += drivers/libdrivers.a
+LIBS += drivers/sk98lin/libsk98lin.a
 LIBS += post/libpost.a post/cpu/libcpu.a
 LIBS += common/libcommon.a
 LIBS += lib_generic/libgeneric.a
+# Add GCC lib
+PLATFORM_LIBS += -L $(shell dirname `$(CC) -print-libgcc-file-name`) -lgcc
 
 #########################################################################
 #########################################################################
@@ -142,7 +146,7 @@ u-boot.dis: u-boot
 u-boot:                depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT)
                UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
                $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
-                       --start-group $(LIBS) --end-group \
+                       --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
                        -Map u-boot.map -o u-boot
 
 subdirs:
@@ -503,6 +507,9 @@ CRAYL1_config:unconfig
 DASA_SIM_config: unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd
 
+DP405_config:  unconfig
+       @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd
+
 DU405_config:  unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx du405 esd
 
@@ -515,6 +522,9 @@ ERIC_config:unconfig
 EXBITGEN_config:unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx exbitgen
 
+HUB405_config: unconfig
+       @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd
+
 MIP405_config:unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl
 
@@ -536,12 +546,18 @@ PCI405_config:    unconfig
 PIP405_config:unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl
 
+PLU405_config: unconfig
+       @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd
+
 PMC405_config: unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd
 
 PPChameleonEVB_config: unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx PPChameleonEVB dave
 
+VOH405_config: unconfig
+       @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd
+
 W7OLMC_config  \
 W7OLMG_config: unconfig
        @./mkconfig $(@:_config=) ppc ppc4xx w7o