diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-08-27 15:29:55 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-08-27 15:29:55 +0200 |
commit | bf27de1c9da14cb4de1ebd31ebc4eed2c0f5bd9c (patch) | |
tree | 2c5a2e8dd71f5177dcf83d7fadef7b8533b88912 | |
parent | c0350c95743a8addf28c3d53159bf22fbcfc924b (diff) |
make help support
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | Makefile | 16 | ||||
-rw-r--r-- | README | 5 |
2 files changed, 19 insertions, 2 deletions
@@ -144,3 +144,19 @@ qemu-console: image qemu-net: image qemu-system-$(ARCH) -kernel '$(LINUX_BUILD_DIR)/arch/$(ARCH)/boot/bzImage' -initrd '$(INITRD_TARGET)' -enable-kvm -vga qxl -display sdl \ -net nic,macaddr=$(NET_HWADDR) -net tap,ifname=linux-qemu-test,br=$(NET_BRIDGE) -append 'net $(if $(NET_IP4),ip4)' + +define HELP_PREFIX +@echo "\t make $1\t- $2" +endef + +help: + @echo 'Available Makefile targets are:' + $(call HELP_PREFIX,build,build LinuxKernel/musl/BusyBox) + $(call HELP_PREFIX,image,create initramfs cpio archive) + $(call HELP_PREFIX,image-rebuild,force recreation of rootfs) + $(call HELP_PREFIX,image-reinstall,force reinstallation of LinuxKernel/musl/BusyBox into rootfs) + $(call HELP_PREFIX,image-repack,force initramfs cpio archive recreation) + $(call HELP_PREFIX,qemu,testing your kernel/initramfs combination with QEMU) + $(call HELP_PREFIX,qemu-console,testing your kernel/initramfs combination with [n]curses QEMU) + $(call HELP_PREFIX,qemu-net,testing your kernel/initramfs combination with QEMU and network support through TAP) + @echo "\t\tAdditional options: NET_BRIDGE, NET_IP4" @@ -1,7 +1,8 @@ Mini Linux ++++++++++ -Developed for fast testing Linux Kernel/Module code modifications. - +What? Mainline/Stable Linux Kernel + musl + BusyBox +Why? Fast testing Linux Kernel/Module code modifications. +How? see `make help` Inspired by: https://gist.github.com/chrisdone/02e165a0004be33734ac2334f215380e |