]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/Config
Fix wrong varible name when searching for rootfiles.
[people/teissler/ipfire-2.x.git] / lfs / Config
index e71294ccbf26269de1824add99f7e3898d922500..82dbab8fb29ec0434e8562617d70fcdb83567630 100644 (file)
@@ -130,7 +130,7 @@ define POSTBUILD
                else LFS_SCRIPT=$(firstword $(MAKEFILE_LIST)); \
                fi; \
                echo $(LFS_SCRIPT); \
-               ROOTFILE=$$(find $(DIR_SRC)/config/rootfiles/{common,packages}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
+               ROOTFILE=$$(find $(DIR_SRC)/config/rootfiles/{common,packages}/{$(MACHINE),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
                if [ "$$ROOTFILE" = "" ]; then \
                        touch $(TARGET)_missing_rootfile; \
                        ROOTFILE=$(TARGET)_missing_rootfile ; \