Arif Ali bde4c9ced6 leo: Added the initrd uncompressed
will try to add to the build process somehow to create the initrd.gz from this directory
2011-09-04 11:59:04 +01:00

15 lines
359 B
Makefile

LOCAL_PATH := $(call my-dir)
INITRD_FILES := $(LOCAL_PATH)/initrd_files
INITRD_TARGET := $(LOCAL_PATH)/../initrd.gz
$(INITRD_TARGET) : $(INITRD_FILES)/init.htcleo.rc
@echo "Creating initrd in $@"
@rm -rf $@
$(hide) (cd $(INITRD_FILES) && find . | cpio --quiet -H newc -o | gzip -9 -c - > $@)
ALL_PREBUILT += $(INITRD_TARGET)
include $(BUILD_PREBUILT)