]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
fix Abhängigkeiten beim parallelisierten build
authorwittinobi <wittinobi@wittinobi.de>
Mon, 30 Apr 2012 12:46:59 +0000 (14:46 +0200)
committerwittinobi <wittinobi@wittinobi.de>
Mon, 30 Apr 2012 12:46:59 +0000 (14:46 +0200)
Makefile
make/applications.mk
make/libraries.mk
make/plugins.mk

index 4f9bdfb2c46ebb46d77edef7e9fb8ff5b088583e..27bf53ee7b659749456691fd6083f504394f0745 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -147,11 +147,11 @@ wittinobi-neutrino:
 
 wittinobi-neutrino-new:
        if [ $(MULTIMEDIA) == no ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton rootfs; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton rootfs; \
        elif [ $(MULTIMEDIA) == yes ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins multimedia-new skeleton rootfs; \
+               $(MAKE) neutrino-new applications-all-new plugins-new multimedia-new skeleton rootfs; \
        else \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton rootfs; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton rootfs; \
        fi
        @echo ""
        @echo ' ============================================================================== '
@@ -173,11 +173,11 @@ wittinobi-neutrino-flash:
 
 wittinobi-neutrino-flash-new:
        if [ $(MULTIMEDIA) == no ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton rootfs flash; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton rootfs flash; \
        elif [ $(MULTIMEDIA) == yes ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins multimedia-new skeleton rootfs flash; \
+               $(MAKE) neutrino-new applications-all-new plugins-new multimedia-new skeleton rootfs flash; \
        else \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton rootfs flash; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton rootfs flash; \
        fi
        @echo ""
        @echo ' ============================================================================== '
@@ -199,11 +199,11 @@ wittinobi-all:
 
 wittinobi-all-new:
        if [ $(MULTIMEDIA) == no ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
        elif [ $(MULTIMEDIA) == yes ]; then \
-               $(MAKE) neutrino-new applications-all-new plugins multimedia-new skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
+               $(MAKE) neutrino-new applications-all-new plugins-new multimedia-new skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
        else \
-               $(MAKE) neutrino-new applications-all-new plugins skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
+               $(MAKE) neutrino-new applications-all-new plugins-new skeleton bootloader kernel-new drivers-new rootfs flash flash-full; \
        fi
        @echo ""
        @echo ' ============================================================================== '
@@ -253,18 +253,22 @@ applications-all:
        fi
 applications-all-new:
        if [ $(LCD4LINUX) == no ]; then \
-               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot $(D)/vsftpd-new $(D)/flashcp; \
+               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot-new $(D)/vsftpd-new $(D)/flashcp; \
        elif [ $(LCD4LINUX) == yes ]; then \
-               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot $(D)/vsftpd-new $(D)/flashcp $(D)/lcd4linux-new; \
+               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot-new $(D)/vsftpd-new $(D)/flashcp $(D)/lcd4linux-new; \
        else \
-               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot $(D)/vsftpd-new $(D)/flashcp; \
+               $(MAKE) $(D)/links-new $(D)/procps-new $(D)/busybox-new $(D)/e2fsprogs-new $(D)/hotplug $(D)/fbshot-new $(D)/vsftpd-new $(D)/flashcp; \
        fi
 
 # plugins.mk
 plugins:
        $(MAKE) $(D)/tuxcom $(D)/tuxcal $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec $(D)/cooliTSclimax $(D)/rcsim
+plugins-new:
+       $(MAKE) $(D)/tuxcom-new $(D)/tuxcal-new $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec $(D)/cooliTSclimax $(D)/rcsim
 plugins-all:
        $(MAKE) $(D)/tuxcom $(D)/tuxcal $(D)/blockad $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec $(D)/liga_nat $(D)/boerse $(D)/rssnews $(D)/tanken $(D)/wetter $(D)/formel1 $(D)/cooliTSclimax $(D)/rcsim $(D)/logomask
+plugins-all-new:
+       $(MAKE) $(D)/tuxcom-new $(D)/tuxcal-new $(D)/blockad $(D)/getrc $(D)/msgbox $(D)/input $(D)/shellexec $(D)/liga_nat $(D)/boerse $(D)/rssnews $(D)/tanken $(D)/wetter $(D)/formel1 $(D)/cooliTSclimax $(D)/rcsim $(D)/logomask
 
 # multimedia.mk
 multimedia:
index 15352d7ed66722208c7e1a60767f7e976c4b49e1..e94b1a81d5f1846ab67abbaf675cb364718c80b8 100755 (executable)
@@ -242,7 +242,17 @@ $(D)/hotplug: $(D)/libblkid $(D)/libuuid | $(TARGETPREFIX)
        $(REMOVE)/hotplug
        touch $@
 
-$(D)/fbshot: $(ARCHIVE)/fbshot-0.3.tar.gz | $(TARGETPREFIX)
+$(D)/fbshot: $(D)/zlib $(ARCHIVE)/fbshot-0.3.tar.gz | $(TARGETPREFIX)
+       $(UNTAR)/fbshot-0.3.tar.gz
+       pushd $(BUILD_TMP)/fbshot-0.3 && \
+               $(PATCH)/fbshot-0.3-32bit_cs_fb.diff && \
+               $(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) fbshot.c -lpng -lz -o $(TARGETPREFIX)/bin/fbshot
+               cd $(TARGETPREFIX)/bin && \
+               ln -sf fbshot dboxshot
+       $(REMOVE)/fbshot-0.3
+       touch $@
+
+$(D)/fbshot-new: $(D)/zlib-new $(ARCHIVE)/fbshot-0.3.tar.gz | $(TARGETPREFIX)
        $(UNTAR)/fbshot-0.3.tar.gz
        pushd $(BUILD_TMP)/fbshot-0.3 && \
                $(PATCH)/fbshot-0.3-32bit_cs_fb.diff && \
index 0fd61c9127bae9b4ed47c216d0240ec290d243d8..2cf32bdd316512eae951193dcf7848bd82699758 100755 (executable)
@@ -269,7 +269,7 @@ $(D)/freetype-new: $(D)/libpng-new $(ARCHIVE)/freetype-2.4.9.tar.bz2 | $(TARGETP
        $(REMOVE)/freetype-2.4.9
        touch $@
 
-$(D)/libpng: $(ARCHIVE)/libpng-1.2.42.tar.gz | $(TARGETPREFIX)
+$(D)/libpng: $(D)/zlib $(ARCHIVE)/libpng-1.2.42.tar.gz | $(TARGETPREFIX)
        $(UNTAR)/libpng-1.2.42.tar.gz
        pushd $(BUILD_TMP)/libpng-1.2.42 && \
                $(CONFIGURE) --prefix=$(TARGETPREFIX) --build=$(BUILD) --host=$(TARGET) --bindir=$(HOSTPREFIX)/bin --mandir=$(BUILD_TMP)/libpng-1.2.42/tmpman && \
@@ -278,7 +278,7 @@ $(D)/libpng: $(ARCHIVE)/libpng-1.2.42.tar.gz | $(TARGETPREFIX)
        $(REMOVE)/libpng-1.2.42
        touch $@
 
-$(D)/libpng-new: $(ARCHIVE)/libpng-1.5.6.tar.gz | $(TARGETPREFIX)
+$(D)/libpng-new: $(D)/zlib-new $(ARCHIVE)/libpng-1.5.6.tar.gz | $(TARGETPREFIX)
        $(UNTAR)/libpng-1.5.6.tar.gz
        pushd $(BUILD_TMP)/libpng-1.5.6 && \
                $(CONFIGURE) --prefix=$(TARGETPREFIX) --build=$(BUILD) --host=$(TARGET) --bindir=$(HOSTPREFIX)/bin --mandir=$(BUILD_TMP)/libpng-1.5.6/tmpman && \
index bb5e5f345b853e6e3765307759fed9d32a0ccdbe..9f3dea13b48f77aefa9efbb9ac0a38d6a9ee0cec 100755 (executable)
@@ -14,14 +14,16 @@ $(LIBPLUG)/blockads.so:
        cp -f blockads.conf $(VARCONF)/ && \\r
        cp -f blockads.cfg $(LIBPLUG)/\r
 \r
-$(D)/tuxcom: $(LIBPLUG)/tuxcom.so\r
+$(D)/tuxcom: $(D)/freetype $(LIBPLUG)/tuxcom.so\r
+$(D)/tuxcom-new: $(D)/freetype-new $(LIBPLUG)/tuxcom.so\r
 $(LIBPLUG)/tuxcom.so:\r
        mkdir -p $(LIBPLUG) && \\r
        pushd $(SOURCE)/tuxcom && \\r
        $(TARGET)-gcc $(TARGET_CFLAGS) -L$(TARGETPREFIX)/lib -I$(TARGETPREFIX)/include/freetype2 -lfreetype -lz -o $@ tuxcom.c && \\r
        cp -f tuxcom.cfg $(LIBPLUG)/\r
 \r
-$(D)/tuxcal: $(LIBPLUG)/tuxcal.so $(D)/tuxcald\r
+$(D)/tuxcal: $(D)/freetype $(LIBPLUG)/tuxcal.so $(D)/tuxcald\r
+$(D)/tuxcal-new: $(D)/freetype-new $(LIBPLUG)/tuxcal.so $(D)/tuxcald-new\r
 $(LIBPLUG)/tuxcal.so:\r
        mkdir -p $(LIBPLUG)/ && \\r
        mkdir -p $(VARCONF)/tuxcal/ && \\r
@@ -30,7 +32,8 @@ $(LIBPLUG)/tuxcal.so:
        cp -f tuxcal.cfg $(LIBPLUG)/ && \\r
        cp -f tuxcal.conf $(VARCONF)/tuxcal/\r
 \r
-$(D)/tuxcald: $(BIN)/tuxcald\r
+$(D)/tuxcald: $(D)/freetype $(BIN)/tuxcald\r
+$(D)/tuxcald-new: $(D)/freetype-new $(BIN)/tuxcald\r
 $(BIN)/tuxcald:\r
        pushd $(SOURCE)/tuxcal/daemon && \\r
        $(TARGET)-gcc $(TARGET_CFLAGS) -L$(TARGETPREFIX)/lib -I$(TARGETPREFIX)/include/freetype2 -lpthread -lfreetype -lz -o $@ tuxcald.c\r