diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-09 16:16:44 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-09 16:16:44 +0200 |
commit | 6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72 (patch) | |
tree | 432513fc67dcff844ecf5c48f38bdcf1a9fe3523 /fs/romfs | |
parent | b6ebab842dbb0581526f907bf5b39cad0ac1f756 (diff) | |
parent | 0b79c5022d32b15180a18087a0fba5a2f1af5cc7 (diff) |
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'fs/romfs')
-rw-r--r-- | fs/romfs/Config.in | 5 | ||||
-rw-r--r-- | fs/romfs/romfs.mk | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/fs/romfs/Config.in b/fs/romfs/Config.in new file mode 100644 index 000000000..7a8c663dd --- /dev/null +++ b/fs/romfs/Config.in @@ -0,0 +1,5 @@ +config BR2_TARGET_ROOTFS_ROMFS + bool "romfs root filesystem" + help + Build a romfs image of the root filesystem. + diff --git a/fs/romfs/romfs.mk b/fs/romfs/romfs.mk new file mode 100644 index 000000000..971947880 --- /dev/null +++ b/fs/romfs/romfs.mk @@ -0,0 +1,15 @@ +############################################################# +# +# Build the romfs root filesystem image +# +############################################################# + +ROMFS_TARGET=$(IMAGE).romfs + +ROOTFS_ROMFS_DEPENDENCIES = host-genromfs + +define ROOTFS_ROMFS_CMD + $(HOST_DIR)/usr/bin/genromfs -d $(TARGET_DIR) -f $$@ +endef + +$(eval $(call ROOTFS_TARGET,romfs))
\ No newline at end of file |