kumquat-buildroot/target/Config.in
Daniel Mack eed7d8737a Add support for custom post-build script
The config help text says it all:

  Specify a script to be run after the build has finished and before
  the BR2 starts packing the files into selected packages.

  This gives users the oportunity to do board-specific cleanups,
  add-ons and the like, so the generated files can be used directly
  without further processing.

  The script is called with the target directory name as first and
  only argument. Make sure the exit code of that script is 0,
  otherwise make will stop after calling it.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 23:15:18 +02:00

103 lines
2.6 KiB
Plaintext

menu "Target filesystem options"
config BR2_ROOTFS_PREFIX
string "Custom root fs prefix"
default "rootfs"
help
Add a custom string to the beginning of the root file system name.
config BR2_ROOTFS_SUFFIX
string "Custom root fs suffix"
default ""
help
Add a custom string to the end of the root file system name.
config BR2_ROOTFS_POST_BUILD_SCRIPT
string "Custom script to run before packing files"
default ""
help
Specify a script to be run after the build has finished and before
the BR2 starts packing the files into selected packages.
This gives users the oportunity to do board-specific cleanups,
add-ons and the like, so the generated files can be used directly
without further processing.
The script is called with the target directory name as first and
only argument. Make sure the exit code of that script is 0,
otherwise make will stop after calling it.
comment "filesystem for target device"
source "target/cramfs/Config.in"
source "target/cloop/Config.in"
source "target/ext2/Config.in"
source "target/jffs2/Config.in"
source "target/ubifs/Config.in"
source "target/squashfs/Config.in"
source "target/tar/Config.in"
source "target/cpio/Config.in"
source "target/iso9660/Config.in"
source "target/initramfs/Config.in"
source "target/romfs/Config.in"
comment "bootloader for target device"
source "target/x86/grub/Config.in"
#source "target/x86/grub2/Config.in"
source "target/x86/syslinux/Config.in"
source "target/powerpc/yaboot/Config.in"
source "target/u-boot/Config.in"
endmenu
menu "Kernel"
choice
prompt "Kernel type"
default BR2_KERNEL_none
config BR2_KERNEL_none
bool "none"
help
Do not build a kernel
config BR2_KERNEL_LINUX_ADVANCED
bool "linux (Advanced configuration)"
select BR2_PACKAGE_LINUX
help
The Linux kernel - Advanced Configuration.
http://www.kernel.org/
Note: Requires kernel-headers >= 2.6.19 since the other
kernel headers are just that (headers) and not full
kernels. This is a feature.
# The kernel with the same version as linux headers cannot be compiled
# when using an external toolchain, because the linux headers are not
# handled by Buildroot in this case.
if BR2_TOOLCHAIN_SOURCE
config BR2_KERNEL_LINUX
bool "linux (Same version as linux headers)"
select BR2_PACKAGE_LINUX
help
The Linux kernel.
http://www.kernel.org/
Note: Requires kernel-headers >= 2.6.19 since the other
kernel headers are just that (headers) and not full
kernels. This is a feature.
endif
endchoice
config BR2_PACKAGE_LINUX
bool
if BR2_PACKAGE_LINUX
source "target/linux/Config.in"
source "target/linux/Config.in.advanced"
endif
endmenu