- #Generate ROOTFILES from filelists
- find $(DIR_SRC)/config/rootfiles/$@/filelists/* -maxdepth 1 | xargs cat >> /tmp/ROOTFILES.tmp
+ #Generate ROOTFILES from filelists
+ BUILD_ARCH=$(BUILD_ARCH) BUILDTARGET=$(BUILDTARGET) KVER=$(KVER) \
+ $(DIR_SRC)/src/scripts/archive.files \
+ $(DIR_SRC)/config/rootfiles/$@/filelists \
+ $(DIR_SRC)/config/rootfiles/$@/files \
+ $(DIR_SRC)/config/rootfiles/$@/files.$(BUILD_ARCH) \
+ > /tmp/ROOTFILES.tmp