Author: nbd
Date: 2016-01-06 19:39:13 +0100 (Wed, 06 Jan 2016)
New Revision: 48147

Modified:
   trunk/target/linux/ramips/image/Makefile
Log:
ramips: do not rely on $(BIN_DIR) installed files during image build (for 
ubnt-erx)

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/target/linux/ramips/image/Makefile
===================================================================
--- trunk/target/linux/ramips/image/Makefile    2016-01-06 18:39:06 UTC (rev 
48146)
+++ trunk/target/linux/ramips/image/Makefile    2016-01-06 18:39:13 UTC (rev 
48147)
@@ -77,10 +77,10 @@
 endef
 
 define Build/ubnt-erx-factory-kernel
-       if [ -e $(BIN_DIR)/$(KERNEL_INITRAMFS_IMAGE) ]; then \
-               $(TAR) -rf $@ --transform='s/^.*/vmlinux.tmp/' 
$(BIN_DIR)/$(KERNEL_INITRAMFS_IMAGE); \
+       if [ -e $(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE) ]; then \
+               $(TAR) -rf $@ --transform='s/^.*/vmlinux.tmp/' 
$(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE); \
                \
-               md5sum --binary $(BIN_DIR)/$(KERNEL_INITRAMFS_IMAGE) | awk 
'{print $$1}'> [email protected]; \
+               md5sum --binary $(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE) | awk 
'{print $$1}'> [email protected]; \
                $(TAR) -rf $@ --transform='s/^.*/vmlinux.tmp.md5/' [email protected]; \
                $(RM) [email protected]; \
        fi
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to