diff --git a/kernel/packages/prawnos-linux-image-armhf/makefile b/kernel/packages/prawnos-linux-image-armhf/makefile index 065891b..71a11a1 100644 --- a/kernel/packages/prawnos-linux-image-armhf/makefile +++ b/kernel/packages/prawnos-linux-image-armhf/makefile @@ -16,14 +16,13 @@ default: $(PACKAGE_NAME_DEB) $(PACKAGE_NAME_DEB): $(PACKAGE_NAME_ORIG_TAR) @echo Building $@ cd src/; debuild -us -uc - mkdir -p $PRAWNOS_LOCAL_APT_REPO - cp $PACKAGE_NAME $PRAWNOS_LOCAL_APT_REPO + mkdir -p $(PRAWNOS_LOCAL_APT_REPO) + cp $(PACKAGE_NAME_DEB) $(PRAWNOS_LOCAL_APT_REPO) $(PACKAGE_NAME_ORIG_TAR): -#TODO: Have dependancy on kernel build -#copy the vmlinux here and zip it up with a makefile make -C $(PRAWNOS_KERNEL)/makefile kernel cp $(PRAWNOS_KERNEL_BUILT) $(ORIG) + tar -czf $(PACKAGE_NAME_ORIG_TAR) $(ORIG)/ .PHONY: clean clean: diff --git a/kernel/packages/prawnos-linux-image-armhf/orig/makefile b/kernel/packages/prawnos-linux-image-armhf/orig/makefile index e69de29..27807c4 100644 --- a/kernel/packages/prawnos-linux-image-armhf/orig/makefile +++ b/kernel/packages/prawnos-linux-image-armhf/orig/makefile @@ -0,0 +1,10 @@ +.DEFAULT_GOAL := default + + +default: $(all) + +all: +#nothing special to do to make, as we already have all of the necessary components + +install: +#copy the kernel image and the script to a defined location, then in a post install script call the installKernel script