Move all filesystem generation code to fs/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
325bfd1cba
commit
0585241505
@ -346,4 +346,6 @@ source "toolchain/Config.in"
|
|||||||
|
|
||||||
source "package/Config.in"
|
source "package/Config.in"
|
||||||
|
|
||||||
|
source "fs/Config.in"
|
||||||
|
|
||||||
source "target/Config.in"
|
source "target/Config.in"
|
||||||
|
2
Makefile
2
Makefile
@ -323,6 +323,8 @@ ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
|||||||
TARGETS+=target-purgelocales
|
TARGETS+=target-purgelocales
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
include fs/common.mk
|
||||||
|
|
||||||
# target stuff is last so it can override anything else
|
# target stuff is last so it can override anything else
|
||||||
include target/Makefile.in
|
include target/Makefile.in
|
||||||
|
|
||||||
|
30
fs/Config.in
Normal file
30
fs/Config.in
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
menu "Target filesystem options"
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
source "fs/cramfs/Config.in"
|
||||||
|
source "fs/cloop/Config.in"
|
||||||
|
source "fs/ext2/Config.in"
|
||||||
|
source "fs/jffs2/Config.in"
|
||||||
|
source "fs/ubifs/Config.in"
|
||||||
|
source "fs/squashfs/Config.in"
|
||||||
|
source "fs/tar/Config.in"
|
||||||
|
source "fs/cpio/Config.in"
|
||||||
|
source "fs/iso9660/Config.in"
|
||||||
|
source "fs/initramfs/Config.in"
|
||||||
|
source "fs/romfs/Config.in"
|
||||||
|
|
||||||
|
endmenu
|
@ -66,3 +66,5 @@ endef
|
|||||||
define ROOTFS_TARGET
|
define ROOTFS_TARGET
|
||||||
$(call ROOTFS_TARGET_INTERNAL,$(1),$(call UPPERCASE,$(1)))
|
$(call ROOTFS_TARGET_INTERNAL,$(1),$(call UPPERCASE,$(1)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
include fs/*/*.mk
|
@ -1,35 +1,4 @@
|
|||||||
menu "Target filesystem options"
|
menu "Bootloaders"
|
||||||
|
|
||||||
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/grub/Config.in"
|
||||||
#source "target/x86/grub2/Config.in"
|
#source "target/x86/grub2/Config.in"
|
||||||
|
@ -62,8 +62,6 @@ ifeq ($(BR2_TARGET_UBOOT),y)
|
|||||||
include target/u-boot/Makefile.in
|
include target/u-boot/Makefile.in
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# and finally build the filesystems/tarballs
|
|
||||||
include target/common.mk
|
|
||||||
include target/*/*.mk
|
include target/*/*.mk
|
||||||
|
|
||||||
# kernel rules
|
# kernel rules
|
||||||
|
Loading…
Reference in New Issue
Block a user