Arif Ali
bde4c9ced6
will try to add to the build process somehow to create the initrd.gz from this directory
15 lines
359 B
Makefile
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)
|