diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-06-22 23:43:08 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-06-22 23:43:08 +0200 |
commit | f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a (patch) | |
tree | 2b1e7628b5bad58c4b4065b9de30321bd02ff502 /fs/common.mk | |
parent | b10197dcf2ca1d6afbdf8f131560a3a0a8b9c72d (diff) | |
parent | 7b7b4260966a5d991b1dabc82c792fbecd77c63a (diff) | |
download | buildroot-novena-f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a.tar.gz buildroot-novena-f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a.zip |
Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Conflicts:
target/Makefile.in
Diffstat (limited to 'fs/common.mk')
-rw-r--r-- | fs/common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/common.mk b/fs/common.mk index 50dc97425..74e9ce060 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -19,6 +19,10 @@ # ROOTFS_$(FSTYPE)_POST_GEN_HOOKS, a list of hooks to call after # generating the filesystem image # +# ROOTFS_$(FSTYPE)_POST_TARGETS, the list of targets that should be +# run after running the main filesystem target. This is useful for +# initramfs, to rebuild the kernel once the initramfs is generated. +# # In terms of configuration option, this macro assumes that the # BR2_TARGET_ROOTFS_$(FSTYPE) config option allows to enable/disable # the generation of a filesystem image of a particular type. If @@ -60,7 +64,7 @@ endif $(1)-root-show-depends: @echo $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma) -$(1)-root: $(BINARIES_DIR)/rootfs.$(1) +$(1)-root: $(BINARIES_DIR)/rootfs.$(1) $(ROOTFS_$(2)_POST_TARGETS) ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y) TARGETS += $(1)-root |