mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
This commit is contained in:
commit
6bb35a38c2
@ -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
|
||||||
|
|
||||||
|
@ -353,7 +353,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -854,12 +853,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -876,8 +875,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -278,7 +278,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -779,12 +778,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -801,8 +800,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -365,7 +365,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -868,12 +867,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -890,8 +889,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -286,7 +286,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -787,12 +786,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -809,8 +808,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -275,7 +275,6 @@ BR2_PACKAGE_DISTCC=y
|
|||||||
BR2_PACKAGE_DMALLOC=y
|
BR2_PACKAGE_DMALLOC=y
|
||||||
BR2_PACKAGE_EXPAT=y
|
BR2_PACKAGE_EXPAT=y
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -559,12 +558,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -359,7 +359,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -919,12 +918,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -942,8 +941,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -317,7 +317,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -875,12 +874,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -898,8 +897,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -358,7 +358,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -916,12 +915,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -939,8 +938,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -279,7 +279,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -837,12 +836,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -860,8 +859,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -358,7 +358,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -784,12 +783,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -806,8 +805,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -286,7 +286,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -787,12 +786,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2=y
|
BR2_TARGET_ROOTFS_JFFS2=y
|
||||||
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||||
@ -809,8 +808,8 @@ BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -275,7 +275,6 @@ BR2_PACKAGE_BUSYBOX_SKELETON=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_GETTEXT is not set
|
# BR2_PACKAGE_GETTEXT is not set
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -724,8 +723,8 @@ BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x0
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_LE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_LE is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
BR2_TARGET_ROOTFS_TAR=y
|
BR2_TARGET_ROOTFS_TAR=y
|
||||||
@ -734,7 +733,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -286,7 +286,6 @@ BR2_PACKAGE_BUSYBOX_SKELETON=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -714,8 +713,8 @@ BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
|||||||
# BR2_TARGET_ROOTFS_JFFS2_LE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_LE is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
BR2_TARGET_ROOTFS_TAR=y
|
BR2_TARGET_ROOTFS_TAR=y
|
||||||
@ -724,7 +723,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -297,7 +297,6 @@ BR2_PACKAGE_BUSYBOX_SKELETON=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -758,8 +757,8 @@ BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
|||||||
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SQUASH is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
BR2_TARGET_ROOTFS_TAR=y
|
BR2_TARGET_ROOTFS_TAR=y
|
||||||
@ -768,7 +767,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -297,7 +297,6 @@ BR2_PACKAGE_BZIP2=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -849,12 +848,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
# BR2_TARGET_ROOTFS_EXT2_NONE is not set
|
# BR2_TARGET_ROOTFS_EXT2_NONE is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_BZIP2=y
|
BR2_TARGET_ROOTFS_EXT2_BZIP2=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO="/tftpboot"
|
|
||||||
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
@ -864,7 +863,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -285,7 +285,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_GETTEXT is not set
|
# BR2_PACKAGE_GETTEXT is not set
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -702,8 +701,8 @@ BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000
|
|||||||
BR2_TARGET_ROOTFS_JFFS2_LE=y
|
BR2_TARGET_ROOTFS_JFFS2_LE=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -285,7 +285,6 @@ BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_GETTEXT is not set
|
# BR2_PACKAGE_GETTEXT is not set
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -702,8 +701,8 @@ BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000
|
|||||||
BR2_TARGET_ROOTFS_JFFS2_LE=y
|
BR2_TARGET_ROOTFS_JFFS2_LE=y
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
# BR2_TARGET_ROOTFS_JFFS2_BE is not set
|
||||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||||
BR2_TARGET_ROOTFS_JFFS2_OUTPUT="$(IMAGE).jffs2"
|
|
||||||
BR2_TARGET_ROOTFS_JFFS2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
@ -282,7 +282,6 @@ BR2_PACKAGE_BUSYBOX_SKELETON=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_GETTEXT is not set
|
# BR2_PACKAGE_GETTEXT is not set
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -688,12 +687,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
@ -703,7 +702,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -286,7 +286,6 @@ BR2_PACKAGE_BISON=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
# BR2_PACKAGE_GETTEXT_STATIC is not set
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
@ -665,12 +664,12 @@ BR2_TARGET_ROOTFS_EXT2_BLOCKS=0
|
|||||||
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
BR2_TARGET_ROOTFS_EXT2_INODES=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
BR2_TARGET_ROOTFS_EXT2_RESBLKS=0
|
||||||
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
BR2_TARGET_ROOTFS_EXT2_SQUASH=y
|
||||||
BR2_TARGET_ROOTFS_EXT2_OUTPUT="$(IMAGE).ext2"
|
|
||||||
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
BR2_TARGET_ROOTFS_EXT2_NONE=y
|
||||||
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
# BR2_TARGET_ROOTFS_EXT2_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_EXT2_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
# BR2_TARGET_ROOTFS_EXT2_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_EXT2_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
||||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||||
@ -680,7 +679,7 @@ BR2_TARGET_ROOTFS_CPIO_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_CPIO_GZIP is not set
|
# BR2_TARGET_ROOTFS_CPIO_GZIP is not set
|
||||||
# BR2_TARGET_ROOTFS_CPIO_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_CPIO_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_CPIO_LZMA is not set
|
# BR2_TARGET_ROOTFS_CPIO_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_CPIO_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
|
||||||
|
@ -286,7 +286,6 @@ BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_GETTEXT is not set
|
# BR2_PACKAGE_GETTEXT is not set
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -673,7 +672,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
@ -267,7 +267,6 @@ BR2_PACKAGE_BASH=y
|
|||||||
# BR2_PACKAGE_DISTCC is not set
|
# BR2_PACKAGE_DISTCC is not set
|
||||||
# BR2_PACKAGE_DMALLOC is not set
|
# BR2_PACKAGE_DMALLOC is not set
|
||||||
# BR2_PACKAGE_FAKEROOT is not set
|
# BR2_PACKAGE_FAKEROOT is not set
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
BR2_PACKAGE_GETTEXT=y
|
BR2_PACKAGE_GETTEXT=y
|
||||||
BR2_PACKAGE_LIBINTL=y
|
BR2_PACKAGE_LIBINTL=y
|
||||||
# BR2_PACKAGE_LIBGMP is not set
|
# BR2_PACKAGE_LIBGMP is not set
|
||||||
@ -704,7 +703,7 @@ BR2_TARGET_ROOTFS_TAR_NONE=y
|
|||||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||||
BR2_TARGET_ROOTFS_TAR_COPYTO=""
|
|
||||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||||
|
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
|
13
fs/cloop/cloop.mk
Normal file
13
fs/cloop/cloop.mk
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the compressed loop root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
|
||||||
|
|
||||||
|
define ROOTFS_CLOOP_CMD
|
||||||
|
$(HOST_DIR)/usr/bin/genisoimage -r $(TARGET_DIR) | $(HOST_DIR)/usr/bin/create_compressed_fs - 65536 > $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,cloop))
|
70
fs/common.mk
Normal file
70
fs/common.mk
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
#
|
||||||
|
# Macro that builds the needed Makefile target to create a root
|
||||||
|
# filesystem image.
|
||||||
|
#
|
||||||
|
# The following variable must be defined before calling this macro
|
||||||
|
#
|
||||||
|
# ROOTFS_$(FSTYPE)_CMD, the command that generates the root
|
||||||
|
# filesystem image. A single command is allowed. The filename of the
|
||||||
|
# filesystem image that it must generate is $$@.
|
||||||
|
#
|
||||||
|
# The following variables can optionaly be defined
|
||||||
|
#
|
||||||
|
# ROOTFS_$(FSTYPE)_DEPENDENCIES, the list of dependencies needed to
|
||||||
|
# build the root filesystem (usually host tools)
|
||||||
|
#
|
||||||
|
# ROOTFS_$(FSTYPE)_PRE_GEN_HOOKS, a list of hooks to call before
|
||||||
|
# generating the filesystem image
|
||||||
|
#
|
||||||
|
# ROOTFS_$(FSTYPE)_POST_GEN_HOOKS, a list of hooks to call after
|
||||||
|
# generating the filesystem image
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# configura options BR2_TARGET_ROOTFS_$(FSTYPE)_GZIP,
|
||||||
|
# BR2_TARGET_ROOTFS_$(FSTYPE)_BZIP2 or
|
||||||
|
# BR2_TARGET_ROOTFS_$(FSTYPE)_LZMA exist and are enabled, then the
|
||||||
|
# macro will automatically generate a compressed filesystem image.
|
||||||
|
|
||||||
|
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
||||||
|
|
||||||
|
define ROOTFS_TARGET_INTERNAL
|
||||||
|
|
||||||
|
$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||||
|
@$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||||
|
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
|
||||||
|
rm -f $(FAKEROOT_SCRIPT)
|
||||||
|
touch $(BUILD_DIR)/.fakeroot.00000
|
||||||
|
cat $(BUILD_DIR)/.fakeroot* > $(FAKEROOT_SCRIPT)
|
||||||
|
echo "chown -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||||
|
ifneq ($(TARGET_DEVICE_TABLE),)
|
||||||
|
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||||
|
endif
|
||||||
|
echo "$(ROOTFS_$(2)_CMD)" >> $(FAKEROOT_SCRIPT)
|
||||||
|
chmod a+x $(FAKEROOT_SCRIPT)
|
||||||
|
$(HOST_DIR)/usr/bin/fakeroot -- $(FAKEROOT_SCRIPT)
|
||||||
|
-@rm -f $(FAKEROOT_SCRIPT)
|
||||||
|
$(foreach hook,$(ROOTFS_$(2)_POST_GEN_HOOKS),$(call $(hook))$(sep))
|
||||||
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y)
|
||||||
|
gzip -9 -c $$@ > $$@.gz
|
||||||
|
endif
|
||||||
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y)
|
||||||
|
bzip2 -9 -c $$@ > $$@.bz2
|
||||||
|
endif
|
||||||
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
|
||||||
|
$(LZMA) -9 -c $$@ > $$@.lzma
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(1)-root: $(BINARIES_DIR)/rootfs.$(1)
|
||||||
|
|
||||||
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
||||||
|
TARGETS += $(1)-root
|
||||||
|
endif
|
||||||
|
endef
|
||||||
|
|
||||||
|
define ROOTFS_TARGET
|
||||||
|
$(call ROOTFS_TARGET_INTERNAL,$(1),$(call UPPERCASE,$(1)))
|
||||||
|
endef
|
||||||
|
|
||||||
|
include fs/*/*.mk
|
@ -1,6 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_CPIO
|
config BR2_TARGET_ROOTFS_CPIO
|
||||||
bool "cpio the root filesystem"
|
bool "cpio the root filesystem"
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a cpio archive of the root filesystem
|
Build a cpio archive of the root filesystem
|
||||||
|
|
||||||
@ -20,31 +19,16 @@ config BR2_TARGET_ROOTFS_CPIO_GZIP
|
|||||||
bool "gzip"
|
bool "gzip"
|
||||||
help
|
help
|
||||||
Do compress the cpio filesystem with gzip.
|
Do compress the cpio filesystem with gzip.
|
||||||
Note that you either have to have gzip installed on your host
|
|
||||||
or select to build a gzip for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_CPIO_BZIP2
|
config BR2_TARGET_ROOTFS_CPIO_BZIP2
|
||||||
bool "bzip2"
|
bool "bzip2"
|
||||||
help
|
help
|
||||||
Do compress the cpio filesystem with bzip2.
|
Do compress the cpio filesystem with bzip2.
|
||||||
Note that you either have to have bzip2 installed on your host
|
|
||||||
or select to build a bzip2 for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_CPIO_LZMA
|
config BR2_TARGET_ROOTFS_CPIO_LZMA
|
||||||
bool "lzma"
|
bool "lzma"
|
||||||
help
|
help
|
||||||
Do compress the cpio filesystem with lzma.
|
Do compress the cpio filesystem with lzma.
|
||||||
Note that you either have to have lzma installed on your host
|
|
||||||
or select to build a lzma for your host. See the packages submenu.
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_CPIO_COPYTO
|
|
||||||
string "also copy the image to..."
|
|
||||||
depends on BR2_TARGET_ROOTFS_CPIO
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Copies the resulting image to a secondary location
|
|
||||||
like a tftp server's root directory.
|
|
||||||
|
|
||||||
Example: $(IMAGE)-$(DATE).cpio$(CPIO_ROOTFS_COMPRESSOR_EXT)
|
|
18
fs/cpio/cpio.mk
Normal file
18
fs/cpio/cpio.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# cpio to archive target filesystem
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
define ROOTFS_CPIO_INIT_SYMLINK
|
||||||
|
rm -f $(TARGET_DIR)/init
|
||||||
|
ln -s sbin/init $(TARGET_DIR)/init
|
||||||
|
endef
|
||||||
|
|
||||||
|
ROOTFS_CPIO_PRE_GEN_HOOKS += ROOTFS_CPIO_INIT_SYMLINK
|
||||||
|
|
||||||
|
define ROOTFS_CPIO_CMD
|
||||||
|
cd $(TARGET_DIR) && find . | cpio --quiet -o -H newc > $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,cpio))
|
@ -1,6 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_CRAMFS
|
config BR2_TARGET_ROOTFS_CRAMFS
|
||||||
bool "cramfs root filesystem"
|
bool "cramfs root filesystem"
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a cramfs root filesystem
|
Build a cramfs root filesystem
|
||||||
|
|
22
fs/cramfs/cramfs.mk
Normal file
22
fs/cramfs/cramfs.mk
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the cramfs root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
CRAMFS_OPTS=-b
|
||||||
|
else
|
||||||
|
CRAMFS_OPTS=-l
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(TARGET_DEVICE_TABLE),)
|
||||||
|
CRAMFS_OPTS += -D $(TARGET_DEVICE_TABLE)
|
||||||
|
endif
|
||||||
|
|
||||||
|
define ROOTFS_CRAMFS_CMD
|
||||||
|
$(HOST_DIR)/usr/bin/mkcramfs -q $(CRAMFS_OPTS) $(TARGET_DIR) $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,cramfs))
|
@ -1,7 +1,6 @@
|
|||||||
config BR2_TARGET_ROOTFS_EXT2
|
config BR2_TARGET_ROOTFS_EXT2
|
||||||
bool "ext2 root filesystem"
|
bool "ext2 root filesystem"
|
||||||
default y
|
default y
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build an ext2 root filesystem
|
Build an ext2 root filesystem
|
||||||
|
|
||||||
@ -25,11 +24,6 @@ config BR2_TARGET_ROOTFS_EXT2_SQUASH
|
|||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
depends on BR2_TARGET_ROOTFS_EXT2
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_OUTPUT
|
|
||||||
string "Output File"
|
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
default "$(IMAGE).ext2"
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Compression method"
|
prompt "Compression method"
|
||||||
default BR2_TARGET_ROOTFS_EXT2_NONE
|
default BR2_TARGET_ROOTFS_EXT2_NONE
|
||||||
@ -46,30 +40,16 @@ config BR2_TARGET_ROOTFS_EXT2_GZIP
|
|||||||
bool "gzip"
|
bool "gzip"
|
||||||
help
|
help
|
||||||
Do compress the ext2 filesystem with gzip.
|
Do compress the ext2 filesystem with gzip.
|
||||||
Note that you either have to have gzip installed on your host
|
|
||||||
or select to build a gzip for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_BZIP2
|
config BR2_TARGET_ROOTFS_EXT2_BZIP2
|
||||||
bool "bzip2"
|
bool "bzip2"
|
||||||
help
|
help
|
||||||
Do compress the ext2 filesystem with bzip2.
|
Do compress the ext2 filesystem with bzip2.
|
||||||
Note that you either have to have bzip2 installed on your host
|
|
||||||
or select to build a bzip2 for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_LZMA
|
config BR2_TARGET_ROOTFS_EXT2_LZMA
|
||||||
bool "lzma"
|
bool "lzma"
|
||||||
help
|
help
|
||||||
Do compress the ext2 filesystem with lzma.
|
Do compress the ext2 filesystem with lzma.
|
||||||
Note that you either have to have lzma installed on your host
|
|
||||||
or select to build a lzma for your host. See the packages submenu.
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_COPYTO
|
|
||||||
string "also copy the image to..."
|
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Copies the resulting image to a secondary location
|
|
||||||
like a tftp server's root directory.
|
|
||||||
|
|
40
fs/ext2/ext2.mk
Normal file
40
fs/ext2/ext2.mk
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the ext2 root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
EXT2_OPTS :=
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_EXT2_SQUASH),y)
|
||||||
|
EXT2_OPTS += -U
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
|
||||||
|
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
|
||||||
|
EXT2_OPTS += -N $(BR2_TARGET_ROOTFS_EXT2_INODES)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),)
|
||||||
|
EXT2_OPTS += -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ROOTFS_EXT2_DEPENDENCIES = host-genext2fs
|
||||||
|
|
||||||
|
ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
|
||||||
|
GENEXT2_REALSIZE=$(shell LC_ALL=C du -s -c -k $(TARGET_DIR) | grep total | sed -e "s/total//")
|
||||||
|
GENEXT2_ADDTOROOTSIZE=$(shell if [ $(GENEXT2_REALSIZE) -ge 20000 ]; then echo 16384; else echo 2400; fi)
|
||||||
|
GENEXT2_SIZE=$(shell expr $(GENEXT2_REALSIZE) + $(GENEXT2_ADDTOROOTSIZE))
|
||||||
|
GENEXT2_ADDTOINODESIZE=$(shell find $(TARGET_DIR) | wc -l)
|
||||||
|
GENEXT2_INODES=$(shell expr $(GENEXT2_ADDTOINODESIZE) + 400)
|
||||||
|
EXT2_OPTS += -b $(GENEXT2_SIZE) -N $(GENEXT2_INODES)
|
||||||
|
endif
|
||||||
|
|
||||||
|
define ROOTFS_EXT2_CMD
|
||||||
|
$(HOST_DIR)/usr/bin/genext2fs -d $(TARGET_DIR) $(EXT2_OPTS) $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,ext2))
|
18
fs/initramfs/initramfs.mk
Normal file
18
fs/initramfs/initramfs.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Make a initramfs_list file to be used by gen_init_cpio
|
||||||
|
# gen_init_cpio is part of the 2.6 linux kernels to build an
|
||||||
|
# initial ramdisk filesystem based on cpio
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
define ROOTFS_INITRAMFS_INIT_SYMLINK
|
||||||
|
rm -f $(TARGET_DIR)/init
|
||||||
|
ln -s sbin/init $(TARGET_DIR)/init
|
||||||
|
endef
|
||||||
|
|
||||||
|
define ROOTFS_INITRAMFS_CMD
|
||||||
|
$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(TARGET_DIR) > $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,initramfs))
|
@ -4,15 +4,9 @@ config BR2_TARGET_ROOTFS_ISO9660
|
|||||||
depends on !BR2_KERNEL_none
|
depends on !BR2_KERNEL_none
|
||||||
select BR2_TARGET_ROOTFS_EXT2
|
select BR2_TARGET_ROOTFS_EXT2
|
||||||
select BR2_TARGET_GRUB
|
select BR2_TARGET_GRUB
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a bootable iso9660 image
|
Build a bootable iso9660 image
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_ISO9660_OUTPUT
|
|
||||||
string "Output File"
|
|
||||||
depends on BR2_TARGET_ROOTFS_ISO9660
|
|
||||||
default "$(IMAGE).iso"
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
|
config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
|
||||||
string "Boot menu.lst file"
|
string "Boot menu.lst file"
|
||||||
depends on BR2_TARGET_ROOTFS_ISO9660
|
depends on BR2_TARGET_ROOTFS_ISO9660
|
49
fs/iso9660/iso9660.mk
Normal file
49
fs/iso9660/iso9660.mk
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the iso96600 root filesystem image
|
||||||
|
#
|
||||||
|
# Cannot be converted to the ROOTFS_TARGET infrastructure, because of
|
||||||
|
# the temporary construction in ISO9660_TARGET_DIR.
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
ISO9660_TARGET_DIR=$(BUILD_DIR)/iso9660
|
||||||
|
ISO9660_BOOT_MENU:=$(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU))
|
||||||
|
ISO9660_OPTS:=
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_ISO9660_SQUASH),y)
|
||||||
|
ISO9660_OPTS+=-U
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot $(LINUX_KERNEL) $(BINARIES_DIR)/rootfs.ext2 grub
|
||||||
|
@$(call MESSAGE,"Generating root filesystem image rootfs.iso9660")
|
||||||
|
mkdir -p $(ISO9660_TARGET_DIR)
|
||||||
|
mkdir -p $(ISO9660_TARGET_DIR)/boot/grub
|
||||||
|
cp $(GRUB_DIR)/stage2/stage2_eltorito $(ISO9660_TARGET_DIR)/boot/grub/
|
||||||
|
cp $(ISO9660_BOOT_MENU) $(ISO9660_TARGET_DIR)/boot/grub/menu.lst
|
||||||
|
cp $(LINUX_KERNEL) $(ISO9660_TARGET_DIR)/kernel
|
||||||
|
cp $(EXT2_TARGET) $(ISO9660_TARGET_DIR)/initrd
|
||||||
|
# Use fakeroot to pretend all target binaries are owned by root
|
||||||
|
rm -f $(FAKEROOT_SCRIPT)
|
||||||
|
touch $(BUILD_DIR)/.fakeroot.00000
|
||||||
|
cat $(BUILD_DIR)/.fakeroot* > $(FAKEROOT_SCRIPT)
|
||||||
|
echo "chown -R 0:0 $(ISO9660_TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||||
|
# Use fakeroot so mkisofs believes the previous fakery
|
||||||
|
echo "$(HOST_DIR)/usr/bin/genisoimage -R -b boot/grub/stage2_eltorito -no-emul-boot " \
|
||||||
|
"-boot-load-size 4 -boot-info-table -o $@ $(ISO9660_TARGET_DIR)" \
|
||||||
|
>> $(FAKEROOT_SCRIPT)
|
||||||
|
chmod a+x $(FAKEROOT_SCRIPT)
|
||||||
|
$(HOST_DIR)/usr/bin/fakeroot -- $(FAKEROOT_SCRIPT)
|
||||||
|
-@rm -f $(FAKEROOT_SCRIPT)
|
||||||
|
-@rm -rf $(ISO9660_TARGET_DIR)
|
||||||
|
|
||||||
|
iso9660-root: $(BINARIES_DIR)/rootfs.iso9660
|
||||||
|
|
||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Toplevel Makefile options
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y)
|
||||||
|
TARGETS+=iso9660-root
|
||||||
|
endif
|
@ -1,6 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_JFFS2
|
config BR2_TARGET_ROOTFS_JFFS2
|
||||||
bool "jffs2 root filesystem"
|
bool "jffs2 root filesystem"
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a jffs2 root filesystem
|
Build a jffs2 root filesystem
|
||||||
|
|
||||||
@ -115,14 +114,4 @@ config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
|
|||||||
A summarised image can be mounted faster if support is
|
A summarised image can be mounted faster if support is
|
||||||
enabled in the kernel (CONFIG_JFFS2_SUMMARY)
|
enabled in the kernel (CONFIG_JFFS2_SUMMARY)
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_JFFS2_OUTPUT
|
|
||||||
string "Output File"
|
|
||||||
default "$(IMAGE).jffs2"
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_JFFS2_COPYTO
|
|
||||||
string "also copy the image to..."
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Copies the resulting image to a secondary location.
|
|
||||||
|
|
||||||
endif
|
endif
|
61
fs/jffs2/jffs2.mk
Normal file
61
fs/jffs2/jffs2.mk
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the jffs2 root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
JFFS2_OPTS := -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
|
||||||
|
SUMTOOL_OPTS := $(JFFS2_OPTS)
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_PAD),y)
|
||||||
|
ifneq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE)),0x0)
|
||||||
|
JFFS2_OPTS += --pad=$(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
|
||||||
|
else
|
||||||
|
JFFS2_OPTS += -p
|
||||||
|
endif
|
||||||
|
SUMTOOL_OPTS += -p
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
|
||||||
|
JFFS2_OPTS += -l
|
||||||
|
SUMTOOL_OPTS += -l
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_BE),y)
|
||||||
|
JFFS2_OPTS += -b
|
||||||
|
SUMTOOL_OPTS += -b
|
||||||
|
endif
|
||||||
|
|
||||||
|
JFFS2_OPTS += -s $(BR2_TARGET_ROOTFS_JFFS2_PAGESIZE)
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER),y)
|
||||||
|
JFFS2_OPTS += -n
|
||||||
|
SUMTOOL_OPTS += -n
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(TARGET_DEVICE_TABLE),)
|
||||||
|
JFFS2_OPTS += -D $(TARGET_DEVICE_TABLE)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ROOTFS_JFFS2_DEPENDENCIES = host-mtd
|
||||||
|
|
||||||
|
ifneq ($(BR2_TARGET_ROOTFS_JFFS2_SUMMARY),)
|
||||||
|
define ROOTFS_JFFS2_CMD
|
||||||
|
$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $$@.nosummary && \
|
||||||
|
$(SUMTOOL) $(SUMTOOL_OPTS) -i $$@.nosummary -o $$@ && \
|
||||||
|
rm $$@.nosummary
|
||||||
|
endef
|
||||||
|
else
|
||||||
|
define ROOTFS_JFFS2_CMD
|
||||||
|
$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $$@
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
define JFFS2_GEN_SREC
|
||||||
|
$(TARGET_CROSS)objcopy -I binary -O srec --adjust-vma 0xa1000000 $$@ $$@.srec
|
||||||
|
endef
|
||||||
|
|
||||||
|
ifeq ($(BR2_JFFS2_TARGET_SREC),y)
|
||||||
|
ROOTFS_JFFS2_POST_GEN_HOOKS += JFFS2_GEN_SREC
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,jffs2))
|
@ -1,6 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_ROMFS
|
config BR2_TARGET_ROOTFS_ROMFS
|
||||||
bool "romfs root filesystem"
|
bool "romfs root filesystem"
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a romfs image of the root filesystem.
|
Build a romfs image of the root filesystem.
|
||||||
|
|
15
fs/romfs/romfs.mk
Normal file
15
fs/romfs/romfs.mk
Normal file
@ -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))
|
4
fs/squashfs/Config.in
Normal file
4
fs/squashfs/Config.in
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
config BR2_TARGET_ROOTFS_SQUASHFS
|
||||||
|
bool "squashfs root filesystem"
|
||||||
|
help
|
||||||
|
Build a squashfs root filesystem
|
13
fs/squashfs/squashfs.mk
Normal file
13
fs/squashfs/squashfs.mk
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the squashfs root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||||
|
|
||||||
|
define ROOTFS_SQUASHFS_CMD
|
||||||
|
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,squashfs))
|
@ -1,6 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_TAR
|
config BR2_TARGET_ROOTFS_TAR
|
||||||
bool "tar the root filesystem"
|
bool "tar the root filesystem"
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a tar archive of the root filesystem
|
Build a tar archive of the root filesystem
|
||||||
|
|
||||||
@ -20,22 +19,16 @@ config BR2_TARGET_ROOTFS_TAR_GZIP
|
|||||||
bool "gzip"
|
bool "gzip"
|
||||||
help
|
help
|
||||||
Do compress the tarball with gzip.
|
Do compress the tarball with gzip.
|
||||||
Note that you either have to have gzip installed on your host
|
|
||||||
or select to build a gzip for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_TAR_BZIP2
|
config BR2_TARGET_ROOTFS_TAR_BZIP2
|
||||||
bool "bzip2"
|
bool "bzip2"
|
||||||
help
|
help
|
||||||
Do compress the tarball with bzip2.
|
Do compress the tarball with bzip2.
|
||||||
Note that you either have to have bzip2 installed on your host
|
|
||||||
or select to build a bzip2 for your host. See the packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_TAR_LZMA
|
config BR2_TARGET_ROOTFS_TAR_LZMA
|
||||||
bool "lzma"
|
bool "lzma"
|
||||||
help
|
help
|
||||||
Do compress the tarball with lzma.
|
Do compress the tarball with lzma.
|
||||||
Note that you either have to have lzma installed on your host
|
|
||||||
or select to build a lzma for your host. See the packages submenu.
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
@ -46,14 +39,3 @@ config BR2_TARGET_ROOTFS_TAR_OPTIONS
|
|||||||
help
|
help
|
||||||
Any other flags you want to pass to tar
|
Any other flags you want to pass to tar
|
||||||
Refer to tar --help for details
|
Refer to tar --help for details
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_TAR_COPYTO
|
|
||||||
string "also copy the image to..."
|
|
||||||
depends on BR2_TARGET_ROOTFS_TAR
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Copies the resulting image to a secondary location
|
|
||||||
like a tftp server's root directory.
|
|
||||||
|
|
||||||
Example: $(IMAGE)-$(DATE).tar
|
|
||||||
|
|
13
fs/tar/tar.mk
Normal file
13
fs/tar/tar.mk
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# tar to archive target filesystem
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
TAR_OPTS:=$(BR2_TARGET_ROOTFS_TAR_OPTIONS)
|
||||||
|
|
||||||
|
define ROOTFS_TAR_CMD
|
||||||
|
tar -c$(TAR_OPTS)f $$@ -C $(TARGET_DIR) .
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,tar))
|
@ -1,7 +1,5 @@
|
|||||||
config BR2_TARGET_ROOTFS_UBIFS
|
config BR2_TARGET_ROOTFS_UBIFS
|
||||||
bool "ubifs root filesystem"
|
bool "ubifs root filesystem"
|
||||||
depends on BROKEN # upstream git gone, should use mtd-utils
|
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
help
|
||||||
Build a ubifs root filesystem
|
Build a ubifs root filesystem
|
||||||
|
|
||||||
@ -24,11 +22,6 @@ config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
|
|||||||
help
|
help
|
||||||
Some comment required here
|
Some comment required here
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_OUTPUT
|
|
||||||
string "Output File"
|
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
|
||||||
default "$(IMAGE).ubifs"
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "ubifs runtime compression"
|
prompt "ubifs runtime compression"
|
||||||
default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
|
default BR2_TARGET_ROOTFS_UBIFS_RT_LZO
|
||||||
@ -71,33 +64,16 @@ config BR2_TARGET_ROOTFS_UBIFS_GZIP
|
|||||||
bool "gzip"
|
bool "gzip"
|
||||||
help
|
help
|
||||||
Do compress the ubifs filesystem with gzip.
|
Do compress the ubifs filesystem with gzip.
|
||||||
Note that you either have to have gzip installed on your
|
|
||||||
host or select to build a gzip for your host. See the
|
|
||||||
packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_BZIP2
|
config BR2_TARGET_ROOTFS_UBIFS_BZIP2
|
||||||
bool "bzip2"
|
bool "bzip2"
|
||||||
help
|
help
|
||||||
Do compress the ubifs filesystem with bzip2.
|
Do compress the ubifs filesystem with bzip2.
|
||||||
Note that you either have to have bzip2 installed on your
|
|
||||||
host or select to build a bzip2 for your host. See the
|
|
||||||
packages submenu.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_LZMA
|
config BR2_TARGET_ROOTFS_UBIFS_LZMA
|
||||||
bool "lzma"
|
bool "lzma"
|
||||||
help
|
help
|
||||||
Do compress the ubifs filesystem with lzma.
|
Do compress the ubifs filesystem with lzma.
|
||||||
Note that you either have to have lzma installed on your
|
|
||||||
host or select to build a lzma for your host. See the
|
|
||||||
packages submenu.
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_COPYTO
|
|
||||||
string "also copy the image to..."
|
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
|
||||||
default ""
|
|
||||||
help
|
|
||||||
Copies the resulting image to a secondary location
|
|
||||||
like a tftp server's root directory.
|
|
||||||
|
|
25
fs/ubifs/ubifs.mk
Normal file
25
fs/ubifs/ubifs.mk
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# Build the ubifs root filesystem image
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT) -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE)
|
||||||
|
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB),y)
|
||||||
|
UBIFS_OPTS += -x zlib
|
||||||
|
endif
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZI),y)
|
||||||
|
UBIFS_OPTS += -x lzo
|
||||||
|
endif
|
||||||
|
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y)
|
||||||
|
UBIFS_OPTS += -x none
|
||||||
|
endif
|
||||||
|
|
||||||
|
ROOTFS_UBIFS_DEPENDENCIES = host-mtd
|
||||||
|
|
||||||
|
define ROOTFS_UBIFS_CMD
|
||||||
|
$(HOST_DIR)/usr/sbin/mkfs.ubifs -d $(TARGET_DIR) $(UBIFS_OPTS) -o $$@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call ROOTFS_TARGET,ubifs))
|
@ -146,6 +146,8 @@ endmenu
|
|||||||
|
|
||||||
menu "Hardware handling"
|
menu "Hardware handling"
|
||||||
source "package/acpid/Config.in"
|
source "package/acpid/Config.in"
|
||||||
|
source "package/cdrkit/Config.in"
|
||||||
|
source "package/cramfs/Config.in"
|
||||||
source "package/dbus/Config.in"
|
source "package/dbus/Config.in"
|
||||||
source "package/dbus-glib/Config.in"
|
source "package/dbus-glib/Config.in"
|
||||||
source "package/dbus-python/Config.in"
|
source "package/dbus-python/Config.in"
|
||||||
@ -159,6 +161,8 @@ source "package/eeprog/Config.in"
|
|||||||
source "package/fconfig/Config.in"
|
source "package/fconfig/Config.in"
|
||||||
source "package/fis/Config.in"
|
source "package/fis/Config.in"
|
||||||
source "package/gadgetfs-test/Config.in"
|
source "package/gadgetfs-test/Config.in"
|
||||||
|
source "package/genext2fs/Config.in"
|
||||||
|
source "package/genromfs/Config.in"
|
||||||
source "package/gvfs/Config.in"
|
source "package/gvfs/Config.in"
|
||||||
source "package/hal/Config.in"
|
source "package/hal/Config.in"
|
||||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||||
@ -184,6 +188,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|||||||
source "package/sfdisk/Config.in"
|
source "package/sfdisk/Config.in"
|
||||||
endif
|
endif
|
||||||
source "package/smartmontools/Config.in"
|
source "package/smartmontools/Config.in"
|
||||||
|
source "package/squashfs/Config.in"
|
||||||
source "package/sshfs/Config.in"
|
source "package/sshfs/Config.in"
|
||||||
source "package/sysstat/Config.in"
|
source "package/sysstat/Config.in"
|
||||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||||
@ -291,6 +296,7 @@ source "package/libupnp/Config.in"
|
|||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Other"
|
menu "Other"
|
||||||
|
source "package/libcap/Config.in"
|
||||||
source "package/libdaemon/Config.in"
|
source "package/libdaemon/Config.in"
|
||||||
source "package/libelf/Config.in"
|
source "package/libelf/Config.in"
|
||||||
source "package/libevent/Config.in"
|
source "package/libevent/Config.in"
|
||||||
|
@ -109,7 +109,6 @@ TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
|||||||
|
|
||||||
# Quotes are needed for spaces et al in path components.
|
# Quotes are needed for spaces et al in path components.
|
||||||
TARGET_PATH="$(TOOLCHAIN_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
TARGET_PATH="$(TOOLCHAIN_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
||||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
|
|
||||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
||||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
||||||
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
|
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
|
||||||
@ -119,9 +118,6 @@ TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
|
|||||||
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
|
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
|
||||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||||
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
|
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
|
||||||
#IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(TOOLCHAIN_EXTERNAL_PREFIX)$(ROOTFS_SUFFIX)
|
|
||||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
|
|
||||||
|
|
||||||
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||||
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||||
KERNEL_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
KERNEL_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||||
|
@ -7,7 +7,7 @@ ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y)
|
|||||||
|
|
||||||
BUSYBOX_INITRAMFS_DIR:=$(BUSYBOX_DIR)-initramfs
|
BUSYBOX_INITRAMFS_DIR:=$(BUSYBOX_DIR)-initramfs
|
||||||
BR2_INITRAMFS_DIR:=$(BUILD_DIR)/initramfs
|
BR2_INITRAMFS_DIR:=$(BUILD_DIR)/initramfs
|
||||||
BB_INITRAMFS_TARGET:=$(IMAGE).initramfs_lst
|
BB_INITRAMFS_TARGET:=rootfs.initramfs_lst
|
||||||
|
|
||||||
$(BUSYBOX_INITRAMFS_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
$(BUSYBOX_INITRAMFS_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||||
rm -rf $(BUILD_DIR)/tmp $(BUSYBOX_INITRAMFS_DIR)
|
rm -rf $(BUILD_DIR)/tmp $(BUSYBOX_INITRAMFS_DIR)
|
||||||
|
@ -3,65 +3,55 @@
|
|||||||
# bzip2
|
# bzip2
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
BZIP2_VERSION:=1.0.4
|
BZIP2_VERSION:=1.0.5
|
||||||
BZIP2_SOURCE:=bzip2-$(BZIP2_VERSION).tar.gz
|
BZIP2_SOURCE:=bzip2-$(BZIP2_VERSION).tar.gz
|
||||||
BZIP2_SITE:=http://www.bzip.org/$(BZIP2_VERSION)
|
BZIP2_SITE:=http://www.bzip.org/$(BZIP2_VERSION)
|
||||||
BZIP2_DIR:=$(BUILD_DIR)/bzip2-$(BZIP2_VERSION)
|
BZIP2_STAGING_INSTALL=YES
|
||||||
BZIP2_CAT:=$(ZCAT)
|
|
||||||
BZIP2_BINARY:=$(BZIP2_DIR)/bzip2
|
|
||||||
BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore
|
|
||||||
|
|
||||||
$(DL_DIR)/$(BZIP2_SOURCE):
|
define BZIP2_FIX_MAKEFILE
|
||||||
$(call DOWNLOAD,$(BZIP2_SITE),$(BZIP2_SOURCE))
|
$(SED) "s,ln \$$(,ln -snf \$$(,g" $(@D)/Makefile
|
||||||
|
|
||||||
bzip2-source: $(DL_DIR)/$(BZIP2_SOURCE)
|
|
||||||
|
|
||||||
$(BZIP2_DIR)/.unpacked: $(DL_DIR)/$(BZIP2_SOURCE)
|
|
||||||
$(BZIP2_CAT) $(DL_DIR)/$(BZIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
|
||||||
$(SED) "s,ln \$$(,ln -snf \$$(,g" $(BZIP2_DIR)/Makefile
|
|
||||||
$(SED) "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$(BZIP2_VERSION) \
|
$(SED) "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$(BZIP2_VERSION) \
|
||||||
libbz2.so,g" $(BZIP2_DIR)/Makefile-libbz2_so
|
libbz2.so,g" $(@D)/Makefile-libbz2_so
|
||||||
ifneq ($(BR2_LARGEFILE),y)
|
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(@D)/Makefile
|
||||||
$(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile
|
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(@D)/Makefile-libbz2_so
|
||||||
$(SED) "s,^BIGFILES,#BIGFILES,g" $(BZIP2_DIR)/Makefile-libbz2_so
|
endef
|
||||||
endif
|
|
||||||
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(BZIP2_DIR)/Makefile
|
|
||||||
$(SED) "s:-O2:$(TARGET_CFLAGS):" $(BZIP2_DIR)/Makefile-libbz2_so
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(STAGING_DIR)/usr/lib/libbz2.so.$(BZIP2_VERSION): $(BZIP2_DIR)/.unpacked
|
BZIP2_POST_PATCH_HOOKS += BZIP2_FIX_MAKEFILE
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
$(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) \
|
define BZIP2_NOLARGEFILE_FIX_MAKEFILE
|
||||||
-C $(BZIP2_DIR) -f Makefile-libbz2_so
|
$(SED) "s,^BIGFILES,#BIGFILES,g" $(@D)/Makefile
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(SED) "s,^BIGFILES,#BIGFILES,g" $(@D)/Makefile-libbz2_so
|
||||||
$(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) \
|
endef
|
||||||
-C $(BZIP2_DIR) libbz2.a
|
|
||||||
cp $(BZIP2_DIR)/bzlib.h $(STAGING_DIR)/usr/include/
|
ifneq ($(BR2_LARGEFILE),y)
|
||||||
cp $(BZIP2_DIR)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
|
BZIP2_POST_PATCH_HOOKS += BZIP2_NOLARGEFILE_FIX_MAKEFILE
|
||||||
cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/usr/lib/
|
endif
|
||||||
|
|
||||||
|
define BZIP2_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) \
|
||||||
|
$(MAKE) -C $(@D) -f Makefile-libbz2_so \
|
||||||
|
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" AR="$(TARGET_AR)"
|
||||||
|
$(TARGET_MAKE_ENV) \
|
||||||
|
$(MAKE) -C $(@D) \
|
||||||
|
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" AR="$(TARGET_AR)" \
|
||||||
|
libbz2.a bzip2 bzip2recover
|
||||||
|
endef
|
||||||
|
|
||||||
|
define BZIP2_INSTALL_STAGING_CMDS
|
||||||
|
cp $(@D)/bzlib.h $(STAGING_DIR)/usr/include/
|
||||||
|
cp $(@D)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
|
||||||
|
cp $(@D)/libbz2.a $(STAGING_DIR)/usr/lib/
|
||||||
(cd $(STAGING_DIR)/usr/lib/; \
|
(cd $(STAGING_DIR)/usr/lib/; \
|
||||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||||
)
|
|
||||||
(cd $(STAGING_DIR)/usr/lib; \
|
|
||||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1; \
|
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1; \
|
||||||
)
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
$(BZIP2_BINARY): $(STAGING_DIR)/usr/lib/libbz2.so.$(BZIP2_VERSION)
|
define B2IP_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||||
$(MAKE) CC=$(TARGET_CC) -C $(BZIP2_DIR) bzip2 bzip2recover
|
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
|
||||||
touch -c $@
|
cp $(@D)/libbz2.so.$(BZIP2_VERSION) $(TARGET_DIR)/usr/lib/
|
||||||
|
|
||||||
$(BZIP2_TARGET_BINARY): $(BZIP2_BINARY)
|
|
||||||
(cd $(TARGET_DIR)/usr/bin; \
|
|
||||||
rm -f bzip2 bunzip2 bzcat bzip2recover \
|
|
||||||
bzgrep bzegrep bzfgrep bzmore bzless bzdiff bzcmp; \
|
|
||||||
)
|
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
$(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(BZIP2_DIR) install
|
|
||||||
rm -f $(TARGET_DIR)/usr/lib/libbz2.a
|
|
||||||
rm -f $(TARGET_DIR)/usr/include/bzlib.h
|
|
||||||
cp $(BZIP2_DIR)/libbz2.so.$(BZIP2_VERSION) $(TARGET_DIR)/usr/lib/
|
|
||||||
(cd $(TARGET_DIR)/usr/lib; \
|
(cd $(TARGET_DIR)/usr/lib; \
|
||||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||||
@ -74,47 +64,37 @@ $(BZIP2_TARGET_BINARY): $(BZIP2_BINARY)
|
|||||||
ln -snf bzgrep bzegrep; \
|
ln -snf bzgrep bzegrep; \
|
||||||
ln -snf bzgrep bzfgrep; \
|
ln -snf bzgrep bzfgrep; \
|
||||||
)
|
)
|
||||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
endef
|
||||||
rm -rf $(TARGET_DIR)/usr/info
|
|
||||||
endif
|
|
||||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
|
||||||
rm -rf $(TARGET_DIR)/usr/man
|
|
||||||
endif
|
|
||||||
rm -rf $(TARGET_DIR)/share/locale
|
|
||||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libbz2.a: $(STAGING_DIR)/usr/lib/libbz2.a
|
define BZIP2_CLEAN_CMDS
|
||||||
mkdir -p $(TARGET_DIR)/usr/include
|
|
||||||
cp $(STAGING_DIR)/usr/include/bzlib.h $(TARGET_DIR)/usr/include/
|
|
||||||
cp $(STAGING_DIR)/usr/lib/libbz2.a $(TARGET_DIR)/usr/lib/
|
|
||||||
rm -f $(TARGET_DIR)/lib/libbz2.so
|
|
||||||
(cd $(TARGET_DIR)/usr/lib; \
|
|
||||||
ln -fs /usr/lib/libbz2.so.1.0 libbz2.so; \
|
|
||||||
)
|
|
||||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libbz2.so.1.0
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
bzip2-headers: $(TARGET_DIR)/usr/lib/libbz2.a
|
|
||||||
|
|
||||||
bzip2: $(BZIP2_TARGET_BINARY)
|
|
||||||
|
|
||||||
bzip2-clean:
|
|
||||||
rm -f $(addprefix $(TARGET_DIR),/lib/libbz2.* \
|
rm -f $(addprefix $(TARGET_DIR),/lib/libbz2.* \
|
||||||
/usr/lib/libbz2.* \
|
/usr/lib/libbz2.* \
|
||||||
/usr/include/bzlib.h)
|
/usr/include/bzlib.h)
|
||||||
rm -f $(addprefix $(STAGING_DIR),/lib/libbz2.* \
|
rm -f $(addprefix $(STAGING_DIR),/lib/libbz2.* \
|
||||||
/usr/lib/libbz2.* \
|
/usr/lib/libbz2.* \
|
||||||
/usr/include/bzlib.h)
|
/usr/include/bzlib.h)
|
||||||
-$(MAKE) -C $(BZIP2_DIR) clean
|
-$(MAKE) -C $(@D) clean
|
||||||
|
endef
|
||||||
|
|
||||||
bzip2-dirclean:
|
define HOST_BZIP2_FIX_MAKEFILE
|
||||||
rm -rf $(BZIP2_DIR)
|
$(SED) "s,ln \$$(,ln -snf \$$(,g" $(@D)/Makefile
|
||||||
|
$(SED) "s,ln -s (lib.*),ln -snf \$$1; ln -snf libbz2.so.$(BZIP2_VERSION) \
|
||||||
|
libbz2.so,g" $(@D)/Makefile-libbz2_so
|
||||||
|
$(SED) "s:-O2:$(HOST_CFLAGS):" $(@D)/Makefile
|
||||||
|
$(SED) "s:-O2:$(HOST_CFLAGS):" $(@D)/Makefile-libbz2_so
|
||||||
|
endef
|
||||||
|
|
||||||
#############################################################
|
HOST_BZIP2_POST_PATCH_HOOKS += HOST_BZIP2_FIX_MAKEFILE
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
define HOST_BZIP2_BUILD_CMDS
|
||||||
#
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile-libbz2_so
|
||||||
#############################################################
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover
|
||||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
endef
|
||||||
TARGETS+=bzip2
|
|
||||||
endif
|
define HOST_BZIP2_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) \
|
||||||
|
$(MAKE) PREFIX=$(HOST_DIR)/usr -C $(@D) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,bzip2))
|
||||||
|
$(eval $(call GENTARGETS,package,bzip2,host))
|
11
package/cdrkit/Config.in
Normal file
11
package/cdrkit/Config.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
config BR2_PACKAGE_CDRKIT
|
||||||
|
# Needed for libbz
|
||||||
|
select BR2_PACKAGE_BZIP2
|
||||||
|
select BR2_PACKAGE_LIBCAP
|
||||||
|
bool "cdrkit"
|
||||||
|
help
|
||||||
|
cdrkit is a suite of programs for recording CDs and DVDs,
|
||||||
|
blanking CD-RW media, creating ISO-9660 filesystem images,
|
||||||
|
extracting audio CD data, and more.
|
||||||
|
|
||||||
|
http://www.cdrkit.org/
|
63
package/cdrkit/cdrkit.mk
Normal file
63
package/cdrkit/cdrkit.mk
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
CDRKIT_VERSION=1.1.10
|
||||||
|
CDRKIT_SOURCE=cdrkit-$(CDRKIT_VERSION).tar.gz
|
||||||
|
CDRKIT_SITE=http://www.cdrkit.org/releases/
|
||||||
|
|
||||||
|
CDRKIT_DEPENDENCIES=libcap bzip2 host-cmake
|
||||||
|
HOST_CDRKIT_DEPENDENCIES=host-libcap host-cmake host-bzip2
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
CMAKE_ENDIAN_OPT=-DBITFIELDS_HTOL=1
|
||||||
|
else
|
||||||
|
CMAKE_ENDIAN_OPT=-DBITFIELDS_HTOL=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
define CDRKIT_CONFIGURE_CMDS
|
||||||
|
-mkdir $(@D)/build
|
||||||
|
(cd $(@D)/build ; \
|
||||||
|
$(HOST_DIR)/usr/bin/cmake .. \
|
||||||
|
-Wno-dev \
|
||||||
|
-DCMAKE_SYSTEM_NAME:STRING="Linux" \
|
||||||
|
-DCMAKE_C_COMPILER:FILEPATH="$(TARGET_CC)" \
|
||||||
|
-DCMAKE_CXX_COMPILER:FILEPATH="$(TARGET_CXX)" \
|
||||||
|
-DCMAKE_C_FLAGS:STRING="$(TARGET_CFLAGS)" \
|
||||||
|
-DCMAKE_EXE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
|
||||||
|
-DCMAKE_MODULE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
|
||||||
|
-DCMAKE_SHARED_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \
|
||||||
|
-DCMAKE_FIND_ROOT_PATH:PATH="$(STAGING_DIR)" \
|
||||||
|
-DCMAKE_INSTALL_PREFIX:PATH="$(TARGET_DIR)/usr" \
|
||||||
|
$(CMAKE_ENDIAN_OPT) \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define CDRKIT_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build
|
||||||
|
endef
|
||||||
|
|
||||||
|
define CDRKIT_INSTALL_TARGET_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CDRKIT_CONFIGURE_CMDS
|
||||||
|
-mkdir $(@D)/build
|
||||||
|
(cd $(@D)/build ; \
|
||||||
|
$(HOST_DIR)/usr/bin/cmake .. \
|
||||||
|
-Wno-dev \
|
||||||
|
-DCMAKE_C_FLAGS="$(HOST_CFLAGS)" \
|
||||||
|
-DCMAKE_EXE_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \
|
||||||
|
-DCMAKE_MODULE_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \
|
||||||
|
-DCMAKE_SHARED_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \
|
||||||
|
-DCMAKE_INSTALL_PREFIX:STRING="$(HOST_DIR)/usr" \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CDRKIT_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/build
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CDRKIT_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/build install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,cdrkit))
|
||||||
|
$(eval $(call GENTARGETS,package,cdrkit,host))
|
||||||
|
|
18
package/cloop/cloop.mk
Normal file
18
package/cloop/cloop.mk
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
CLOOP_VERSION=2.631-1
|
||||||
|
CLOOP_SOURCE=cloop_$(CLOOP_VERSION).tar.gz
|
||||||
|
CLOOP_SITE=http://debian-knoppix.alioth.debian.org/sources/
|
||||||
|
|
||||||
|
HOST_CLOOP_DEPENDENCIES = host-zlib
|
||||||
|
|
||||||
|
define HOST_CLOOP_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE1) \
|
||||||
|
CFLAGS="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(@D) APPSONLY=yes
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CLOOP_INSTALL_CMDS
|
||||||
|
install -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin
|
||||||
|
install -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,cloop))
|
||||||
|
$(eval $(call GENTARGETS,package,cloop,host))
|
20
package/cmake/cmake.mk
Normal file
20
package/cmake/cmake.mk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
CMAKE_VERSION=2.8.0
|
||||||
|
CMAKE_SOURCE=cmake-$(CMAKE_VERSION).tar.gz
|
||||||
|
CMAKE_SITE=http://www.cmake.org/files/v2.8/
|
||||||
|
|
||||||
|
define HOST_CMAKE_CONFIGURE_CMDS
|
||||||
|
(cd $(@D); \
|
||||||
|
./bootstrap --prefix=$(HOST_DIR)/usr --parallel=$(BR2_JLEVEL) \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CMAKE_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CMAKE_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,cmake))
|
||||||
|
$(eval $(call GENTARGETS,package,cmake,host))
|
7
package/cramfs/Config.in
Normal file
7
package/cramfs/Config.in
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
config BR2_PACKAGE_CRAMFS
|
||||||
|
bool "cramfs"
|
||||||
|
help
|
||||||
|
cramfs is a comporessed read-only filesystem. This package
|
||||||
|
contains the tools to generate and check a cramfs filesystem.
|
||||||
|
|
||||||
|
http://sourceforge.net/projects/cramfs/
|
33
package/cramfs/cramfs.mk
Normal file
33
package/cramfs/cramfs.mk
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# cramfs
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
CRAMFS_VERSION=1.1
|
||||||
|
CRAMFS_SOURCE=cramfs-$(CRAMFS_VERSION).tar.gz
|
||||||
|
CRAMFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/cramfs
|
||||||
|
|
||||||
|
CRAMFS_DEPENDENCIES = zlib
|
||||||
|
HOST_CRAMFS_DEPENDENCIES = host-zlib
|
||||||
|
|
||||||
|
define CRAMFS_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define CRAMFS_INSTALL_TARGET_CMDS
|
||||||
|
install -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin
|
||||||
|
install -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CRAMFS_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_CRAMFS_INSTALL_CMDS
|
||||||
|
install -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin
|
||||||
|
install -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,cramfs))
|
||||||
|
$(eval $(call GENTARGETS,package,cramfs,host))
|
@ -26,7 +26,12 @@ E2FSPROGS_CONF_OPT = \
|
|||||||
E2FSPROGS_MAKE_OPT = \
|
E2FSPROGS_MAKE_OPT = \
|
||||||
LDCONFIG=true
|
LDCONFIG=true
|
||||||
|
|
||||||
|
define HOST_E2FSPROGS_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,e2fsprogs))
|
$(eval $(call AUTOTARGETS,package,e2fsprogs))
|
||||||
|
$(eval $(call AUTOTARGETS,package,e2fsprogs,host))
|
||||||
|
|
||||||
# binaries to keep or remove
|
# binaries to keep or remove
|
||||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks
|
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks
|
||||||
|
@ -4,7 +4,3 @@ config BR2_PACKAGE_FAKEROOT
|
|||||||
Run commands in an environment faking root privileges.
|
Run commands in an environment faking root privileges.
|
||||||
|
|
||||||
http://joostje.op.het.net/fakeroot/
|
http://joostje.op.het.net/fakeroot/
|
||||||
|
|
||||||
# dummy for fakeroot-source
|
|
||||||
config BR2_HOST_FAKEROOT
|
|
||||||
bool
|
|
||||||
|
@ -6,125 +6,25 @@
|
|||||||
FAKEROOT_VERSION:=1.9.5
|
FAKEROOT_VERSION:=1.9.5
|
||||||
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
||||||
FAKEROOT_SITE:=http://snapshot.debian.net/archive/2008/04/27/debian/pool/main/f/fakeroot/
|
FAKEROOT_SITE:=http://snapshot.debian.net/archive/2008/04/27/debian/pool/main/f/fakeroot/
|
||||||
FAKEROOT_CAT:=$(ZCAT)
|
FAKEROOT_LIBTOOL_PATCH=NO
|
||||||
FAKEROOT_SOURCE_DIR:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)
|
HOST_FAKEROOT_LIBTOOL_PATCH=NO
|
||||||
FAKEROOT_DIR1:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)-host
|
|
||||||
FAKEROOT_DIR2:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION)-target
|
|
||||||
|
|
||||||
$(DL_DIR)/$(FAKEROOT_SOURCE):
|
define FAKEROOT_PATCH_FAKEROOT_IN
|
||||||
$(call DOWNLOAD,$(FAKEROOT_SITE),$(FAKEROOT_SOURCE))
|
|
||||||
|
|
||||||
fakeroot-source: $(DL_DIR)/$(FAKEROOT_SOURCE)
|
|
||||||
|
|
||||||
$(FAKEROOT_SOURCE_DIR)/.unpacked: $(DL_DIR)/$(FAKEROOT_SOURCE)
|
|
||||||
$(FAKEROOT_CAT) $(DL_DIR)/$(FAKEROOT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
|
||||||
# If using busybox getopt, make it be quiet.
|
# If using busybox getopt, make it be quiet.
|
||||||
$(SED) "s,getopt --version,getopt --version 2>/dev/null," \
|
$(SED) "s,getopt --version,getopt --version 2>/dev/null," \
|
||||||
$(FAKEROOT_SOURCE_DIR)/scripts/fakeroot.in
|
$(@D)/scripts/fakeroot.in
|
||||||
toolchain/patch-kernel.sh $(FAKEROOT_SOURCE_DIR) package/fakeroot/ \*.patch
|
endef
|
||||||
touch $@
|
|
||||||
|
|
||||||
|
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
|
||||||
|
|
||||||
#############################################################
|
define FAKEROOT_RENAME_TARGET_BINARIES
|
||||||
#
|
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-faked \
|
||||||
# build fakeroot for use on the host system
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
$(FAKEROOT_DIR1)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked
|
|
||||||
mkdir -p $(FAKEROOT_DIR1)
|
|
||||||
(cd $(FAKEROOT_DIR1); rm -rf config.cache; \
|
|
||||||
CC="$(HOSTCC)" \
|
|
||||||
$(FAKEROOT_SOURCE_DIR)/configure $(QUIET) \
|
|
||||||
--prefix=$(HOST_DIR)/usr \
|
|
||||||
)
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(FAKEROOT_DIR1)/faked: $(FAKEROOT_DIR1)/.configured
|
|
||||||
$(MAKE) -C $(FAKEROOT_DIR1)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR1)/faked
|
|
||||||
$(MAKE) -C $(FAKEROOT_DIR1) install
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
host-fakeroot: $(HOST_DIR)/usr/bin/fakeroot
|
|
||||||
|
|
||||||
host-fakeroot-clean:
|
|
||||||
-$(MAKE) -C $(FAKEROOT_DIR1) clean
|
|
||||||
|
|
||||||
host-fakeroot-dirclean:
|
|
||||||
rm -rf $(FAKEROOT_DIR1)
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# build fakeroot for use on the target system
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
$(FAKEROOT_DIR2)/.configured: $(FAKEROOT_SOURCE_DIR)/.unpacked
|
|
||||||
mkdir -p $(FAKEROOT_DIR2)
|
|
||||||
(cd $(FAKEROOT_DIR2); rm -rf config.cache; \
|
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
$(TARGET_CONFIGURE_ARGS) \
|
|
||||||
$(FAKEROOT_SOURCE_DIR)/configure $(QUIET) \
|
|
||||||
--target=$(GNU_TARGET_NAME) \
|
|
||||||
--host=$(GNU_TARGET_NAME) \
|
|
||||||
--build=$(GNU_HOST_NAME) \
|
|
||||||
--prefix=/usr \
|
|
||||||
--exec-prefix=/usr \
|
|
||||||
--bindir=/usr/bin \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--libdir=/usr/lib/libfakeroot \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--datadir=/usr/share \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--mandir=/usr/share/man \
|
|
||||||
--infodir=/usr/share/info \
|
|
||||||
$(DISABLE_NLS) \
|
|
||||||
)
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(FAKEROOT_DIR2)/faked: $(FAKEROOT_DIR2)/.configured
|
|
||||||
$(MAKE) CC=$(TARGET_CC) -C $(FAKEROOT_DIR2)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/bin/fakeroot: $(FAKEROOT_DIR2)/faked
|
|
||||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(FAKEROOT_DIR2) install
|
|
||||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-faked \
|
|
||||||
$(TARGET_DIR)/usr/bin/faked
|
$(TARGET_DIR)/usr/bin/faked
|
||||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-linux-fakeroot \
|
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-fakeroot \
|
||||||
$(TARGET_DIR)/usr/bin/fakeroot
|
$(TARGET_DIR)/usr/bin/fakeroot
|
||||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
endef
|
||||||
rm -rf $(TARGET_DIR)/usr/share/info
|
|
||||||
endif
|
|
||||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
|
||||||
rm -rf $(TARGET_DIR)/usr/share/man
|
|
||||||
endif
|
|
||||||
rm -rf $(TARGET_DIR)/share/locale
|
|
||||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
fakeroot: $(TARGET_DIR)/usr/bin/fakeroot
|
FAKEROOT_POST_INSTALL_TARGET_HOOKS += FAKEROOT_RENAME_TARGET_BINARIES
|
||||||
|
|
||||||
fakeroot-clean:
|
$(eval $(call AUTOTARGETS,package,fakeroot))
|
||||||
-$(MAKE) -C $(FAKEROOT_DIR2) clean
|
$(eval $(call AUTOTARGETS,package,fakeroot,host))
|
||||||
rm -f $(TARGET_DIR)/usr/bin/fake{d,root}
|
|
||||||
|
|
||||||
fakeroot-dirclean:
|
|
||||||
rm -rf $(FAKEROOT_DIR2)
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_PACKAGE_FAKEROOT),y)
|
|
||||||
TARGETS+=fakeroot
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_HOST_FAKEROOT),y)
|
|
||||||
HOST_SOURCE+=fakeroot-source
|
|
||||||
endif
|
|
||||||
|
9
package/genext2fs/Config.in
Normal file
9
package/genext2fs/Config.in
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
config BR2_PACKAGE_GENEXT2FS
|
||||||
|
bool "genext2fs"
|
||||||
|
help
|
||||||
|
genext2fs generates an ext2 filesystem as a normal (non-root)
|
||||||
|
user. It does not require you to mount the image file to
|
||||||
|
copy files on it, nor does it require that you become the
|
||||||
|
superuser to make device nodes.
|
||||||
|
|
||||||
|
http://genext2fs.sourceforge.net/
|
12
package/genext2fs/genext2fs.mk
Normal file
12
package/genext2fs/genext2fs.mk
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# genext2fs
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
GENEXT2FS_VERSION=1.4
|
||||||
|
GENEXT2FS_SOURCE=genext2fs-$(GENEXT2FS_VERSION).tar.gz
|
||||||
|
GENEXT2FS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/genext2fs
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,genext2fs))
|
||||||
|
$(eval $(call AUTOTARGETS,package,genext2fs,host))
|
6
package/genromfs/Config.in
Normal file
6
package/genromfs/Config.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_GENROMFS
|
||||||
|
bool "genromfs"
|
||||||
|
help
|
||||||
|
Tool to generate a ROMFS filesystem.
|
||||||
|
|
||||||
|
http://romfs.sourceforge.net/
|
26
package/genromfs/genromfs-0.5.2-build-system.patch
Normal file
26
package/genromfs/genromfs-0.5.2-build-system.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
Makefile | 4 +---
|
||||||
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||||
|
|
||||||
|
Index: genromfs-0.5.2/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- genromfs-0.5.2.orig/Makefile
|
||||||
|
+++ genromfs-0.5.2/Makefile
|
||||||
|
@@ -6,8 +6,6 @@
|
||||||
|
PACKAGE = genromfs
|
||||||
|
VERSION = 0.5.2
|
||||||
|
CC = gcc
|
||||||
|
-CFLAGS = -O2 -Wall -DVERSION=\"$(VERSION)\"#-g#
|
||||||
|
-LDFLAGS = -s#-g
|
||||||
|
|
||||||
|
DISTDIR = $(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
@@ -24,7 +22,7 @@
|
||||||
|
$(CC) $(LDFLAGS) genromfs.o -o genromfs
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
- $(CC) $(CFLAGS) $< -c -o $@
|
||||||
|
+ $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" $< -c -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f genromfs *.o
|
31
package/genromfs/genromfs.mk
Normal file
31
package/genromfs/genromfs.mk
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# genromfs
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
GENROMFS_VERSION=0.5.2
|
||||||
|
GENROMFS_SOURCE=genromfs-$(GENROMFS_VERSION).tar.gz
|
||||||
|
GENROMFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/romfs
|
||||||
|
|
||||||
|
define GENROMFS_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define GENROMFS_INSTALL_TARGET_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_GENROMFS_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_GENROMFS_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,genromfs))
|
||||||
|
$(eval $(call GENTARGETS,package,genromfs,host))
|
10
package/libcap/Config.in
Normal file
10
package/libcap/Config.in
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
config BR2_PACKAGE_LIBCAP
|
||||||
|
bool "libcap"
|
||||||
|
help
|
||||||
|
This library implements the user-space interfaces to the
|
||||||
|
POSIX 1003.1e capabilities available in Linux kernels. These
|
||||||
|
capabilities are a partitioning of the all powerful root
|
||||||
|
privilege into a set of distinct privileges.
|
||||||
|
|
||||||
|
http://sites.google.com/site/fullycapable/
|
||||||
|
|
55
package/libcap/libcap-2.19-build-system.patch
Normal file
55
package/libcap/libcap-2.19-build-system.patch
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
---
|
||||||
|
Make.Rules | 15 ++++++++-------
|
||||||
|
libcap/Makefile | 2 +-
|
||||||
|
2 files changed, 9 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
Index: libcap-2.19/Make.Rules
|
||||||
|
===================================================================
|
||||||
|
--- libcap-2.19.orig/Make.Rules
|
||||||
|
+++ libcap-2.19/Make.Rules
|
||||||
|
@@ -45,24 +45,25 @@
|
||||||
|
KERNEL_HEADERS := $(topdir)/libcap/include
|
||||||
|
IPATH += -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
|
||||||
|
|
||||||
|
-CC := gcc
|
||||||
|
-CFLAGS := -O2
|
||||||
|
-BUILD_CC := $(CC)
|
||||||
|
-BUILD_CFLAGS := $(CFLAGS) $(IPATH)
|
||||||
|
-AR := ar
|
||||||
|
-RANLIB := ranlib
|
||||||
|
+CC ?= gcc
|
||||||
|
+CFLAGS ?= -O2
|
||||||
|
+CC_FOR_BUILD ?= $(CC)
|
||||||
|
+CFLAGS_FOR_BUILD ?= $(CFLAGS)
|
||||||
|
+AR ?= ar
|
||||||
|
+RANLIB ?= ranlib
|
||||||
|
DEBUG = -g #-DDEBUG
|
||||||
|
WARNINGS=-fPIC -Wall -Wwrite-strings \
|
||||||
|
-Wpointer-arith -Wcast-qual -Wcast-align \
|
||||||
|
-Wstrict-prototypes -Wmissing-prototypes \
|
||||||
|
-Wnested-externs -Winline -Wshadow
|
||||||
|
LD=$(CC) -Wl,-x -shared
|
||||||
|
-LDFLAGS := #-g
|
||||||
|
+LDFLAGS ?= #-g
|
||||||
|
|
||||||
|
SYSTEM_HEADERS = /usr/include
|
||||||
|
INCS=$(topdir)/libcap/include/sys/capability.h
|
||||||
|
LDFLAGS += -L$(topdir)/libcap
|
||||||
|
CFLAGS += -Dlinux $(WARNINGS) $(DEBUG) $(IPATH)
|
||||||
|
+CFLAGS_FOR_BUILD += $(IPATH)
|
||||||
|
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
|
||||||
|
INDENT := $(shell if [ -n "$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
|
||||||
|
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
|
||||||
|
Index: libcap-2.19/libcap/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- libcap-2.19.orig/libcap/Makefile
|
||||||
|
+++ libcap-2.19/libcap/Makefile
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
endif
|
||||||
|
|
||||||
|
_makenames: _makenames.c cap_names.list.h
|
||||||
|
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
|
||||||
|
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@
|
||||||
|
|
||||||
|
cap_names.h: _makenames
|
||||||
|
./_makenames > cap_names.h
|
27
package/libcap/libcap.mk
Normal file
27
package/libcap/libcap.mk
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
LIBCAP_VERSION=2.19
|
||||||
|
LIBCAP_SOURCE=libcap-$(LIBCAP_VERSION).tar.bz2
|
||||||
|
LIBCAP_SITE=http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
|
||||||
|
LIBCAP_INSTALL_STAGING=YES
|
||||||
|
|
||||||
|
define LIBCAP_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) LIBATTR=no
|
||||||
|
endef
|
||||||
|
|
||||||
|
define LIBCAP_INSTALL_STAGING_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(STAGING_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define LIBCAP_INSTALL_TARGET_CMDS
|
||||||
|
install -D $(STAGING_DIR)/usr/lib/libcap.so.* $(TARGET_DIR)/usr/lib
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_LIBCAP_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) LIBATTR=no
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_LIBCAP_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(HOST_DIR) install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,libcap))
|
||||||
|
$(eval $(call GENTARGETS,package,libcap,host))
|
@ -11,67 +11,6 @@ LZMA_INSTALL_TARGET = YES
|
|||||||
LZMA_CONF_OPT = $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
|
LZMA_CONF_OPT = $(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug)
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,lzma))
|
$(eval $(call AUTOTARGETS,package,lzma))
|
||||||
|
$(eval $(call AUTOTARGETS,package,lzma,host))
|
||||||
|
|
||||||
######################################################################
|
LZMA=$(HOST_DIR)/usr/bin/lzma
|
||||||
#
|
|
||||||
# lzma host
|
|
||||||
#
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
LZMA_CAT:=$(ZCAT)
|
|
||||||
LZMA_HOST_DIR:=$(TOOLCHAIN_DIR)/lzma-$(LZMA_VERSION)
|
|
||||||
|
|
||||||
# lzma binary for use on the host
|
|
||||||
LZMA=$(TOOLCHAIN_DIR)/bin/lzma
|
|
||||||
HOST_LZMA_BINARY=$(shell package/lzma/lzmacheck.sh)
|
|
||||||
HOST_LZMA_IF_ANY=$(shell toolchain/dependencies/check-host-lzma.sh)
|
|
||||||
|
|
||||||
$(DL_DIR)/$(LZMA_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(LZMA_SITE),$(LZMA_SOURCE))
|
|
||||||
|
|
||||||
$(LZMA_HOST_DIR)/.unpacked: $(DL_DIR)/$(LZMA_SOURCE)
|
|
||||||
$(LZMA_CAT) $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(TOOLCHAIN_DIR) $(TAR_OPTIONS) -
|
|
||||||
toolchain/patch-kernel.sh $(LZMA_HOST_DIR) package/lzma/ lzma\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(LZMA_HOST_DIR)/.configured: $(LZMA_HOST_DIR)/.unpacked
|
|
||||||
(cd $(LZMA_HOST_DIR); rm -f config.cache;\
|
|
||||||
CC="$(HOSTCC)" \
|
|
||||||
CXX="$(HOSTCXX)" \
|
|
||||||
./configure $(QUIET) \
|
|
||||||
--prefix=/ \
|
|
||||||
)
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(LZMA_HOST_DIR)/src/lzma/lzma: $(LZMA_HOST_DIR)/.configured
|
|
||||||
$(MAKE) -C $(LZMA_HOST_DIR) all
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
$(STAGING_DIR)/bin/lzma: $(LZMA_HOST_DIR)/src/lzma/lzma
|
|
||||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LZMA_HOST_DIR) install
|
|
||||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
|
|
||||||
$(STAGING_DIR)/lib/liblzmadec.la
|
|
||||||
|
|
||||||
.PHONY: lzma-host use-lzma-host-binary
|
|
||||||
use-lzma-host-binary:
|
|
||||||
if [ ! -f "$(TOOLCHAIN_DIR)/bin/lzma" ]; then \
|
|
||||||
[ -d $(TOOLCHAIN_DIR)/bin ] || mkdir -p $(TOOLCHAIN_DIR)/bin; \
|
|
||||||
ln -sf "$(HOST_LZMA_IF_ANY)" "$(TOOLCHAIN_DIR)/bin/lzma"; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
build-lzma-host-binary: $(LZMA_HOST_DIR)/src/lzma/lzma
|
|
||||||
-rm -f $(TOOLCHAIN_DIR)/bin/lzma
|
|
||||||
[ -d $(TOOLCHAIN_DIR)/bin ] || mkdir $(TOOLCHAIN_DIR)/bin
|
|
||||||
cp -pf $(LZMA_HOST_DIR)/src/lzma/lzma $(TOOLCHAIN_DIR)/bin/lzma
|
|
||||||
|
|
||||||
host-lzma: $(HOST_LZMA_BINARY)
|
|
||||||
|
|
||||||
lzma-host: $(STAGING_DIR)/bin/lzma
|
|
||||||
|
|
||||||
lzma-host-clean:
|
|
||||||
rm -f $(STAGING_DIR)/bin/lzma
|
|
||||||
-$(MAKE) -C $(LZMA_HOST_DIR) clean
|
|
||||||
lzma-host-dirclean:
|
|
||||||
rm -rf $(LZMA_HOST_DIR)
|
|
||||||
|
|
||||||
lzma-host-install: /usr/local/bin/lzma
|
|
||||||
|
@ -6,65 +6,21 @@
|
|||||||
MTD_VERSION:=1.3.1
|
MTD_VERSION:=1.3.1
|
||||||
MTD_SOURCE:=mtd-utils-$(MTD_VERSION).tar.bz2
|
MTD_SOURCE:=mtd-utils-$(MTD_VERSION).tar.bz2
|
||||||
MTD_SITE:=ftp://ftp.infradead.org/pub/mtd-utils
|
MTD_SITE:=ftp://ftp.infradead.org/pub/mtd-utils
|
||||||
MTD_DIR:=$(BUILD_DIR)/mtd-utils-$(MTD_VERSION)
|
|
||||||
MTD_HOST_DIR:= $(MTD_DIR)-host
|
|
||||||
MTD_CAT:=$(BZCAT)
|
|
||||||
|
|
||||||
#############################################################
|
HOST_MTD_DEPENDENCIES = host-lzo host-e2fsprogs
|
||||||
#
|
|
||||||
# Build mkfs.jffs2 and sumtool for use on the local host system if
|
|
||||||
# needed by target/jffs2root.
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
MKFS_JFFS2 := $(HOST_DIR)/usr/sbin/mkfs.jffs2
|
|
||||||
SUMTOOL := $(HOST_DIR)/usr/sbin/sumtool
|
|
||||||
|
|
||||||
$(DL_DIR)/$(MTD_SOURCE):
|
define HOST_MTD_BUILD_CMDS
|
||||||
$(call DOWNLOAD,$(MTD_SITE),$(MTD_SOURCE))
|
|
||||||
|
|
||||||
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
|
|
||||||
mkdir -p $(@D)
|
|
||||||
$(MTD_CAT) $^ | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
|
||||||
toolchain/patch-kernel.sh $(MTD_HOST_DIR) \
|
|
||||||
package/mtd/ mtd-utils-\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(MTD_HOST_DIR)/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked
|
|
||||||
CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
|
CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
|
||||||
CROSS= $(MAKE) BUILDDIR=$(MTD_HOST_DIR) \
|
CROSS= $(MAKE) BUILDDIR=$(@D) \
|
||||||
WITHOUT_XATTR=1 -C $(MTD_HOST_DIR) $@
|
WITHOUT_XATTR=1 -C $(@D)
|
||||||
|
endef
|
||||||
|
|
||||||
$(MKFS_JFFS2): $(MTD_HOST_DIR)/mkfs.jffs2
|
define HOST_MTD_INSTALL_CMDS
|
||||||
install -m 0755 -D $^ $@
|
$(MAKE) BUILDDIR=$(@D) DESTDIR=$(HOST_DIR) -C $(@D) install
|
||||||
|
endef
|
||||||
|
|
||||||
$(MTD_HOST_DIR)/sumtool: $(MTD_HOST_DIR)/.unpacked
|
MKFS_JFFS2=$(HOST_DIR)/usr/sbin/mkfs.jffs2
|
||||||
CC="$(HOSTCC)" CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
|
SUMTOOL=$(HOST_DIR)/usr/sbin/sumtool
|
||||||
CROSS= $(MAKE) BUILDDIR=$(MTD_HOST_DIR) \
|
|
||||||
WITHOUT_XATTR=1 -C $(MTD_HOST_DIR) $@
|
|
||||||
|
|
||||||
$(SUMTOOL): $(MTD_HOST_DIR)/sumtool
|
|
||||||
install -m 0755 $^ $@
|
|
||||||
|
|
||||||
mtd-host: host-lzo $(MKFS_JFFS2) $(SUMTOOL)
|
|
||||||
|
|
||||||
mtd-host-source: $(DL_DIR)/$(MTD_SOURCE)
|
|
||||||
|
|
||||||
mtd-host-clean:
|
|
||||||
-$(MAKE) -C $(MTD_HOST_DIR) clean
|
|
||||||
rm -f $(MKFS_JFFS2) $(SUMTOOL)
|
|
||||||
|
|
||||||
mtd-host-dirclean:
|
|
||||||
rm -rf $(MTD_HOST_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# build mtd for use on the target system
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
$(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
|
|
||||||
$(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
|
||||||
toolchain/patch-kernel.sh $(MTD_DIR) package/mtd/ mtd-utils-\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk
|
MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk
|
||||||
MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios
|
MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios
|
||||||
@ -105,50 +61,42 @@ MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol
|
|||||||
MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol
|
MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol
|
||||||
MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol
|
MTD_TARGETS_UBI_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol
|
||||||
|
|
||||||
MTD_TARGETS := $(addprefix $(MTD_DIR)/, $(MTD_TARGETS_y))
|
MTD_MAKE_COMMON_FLAGS = \
|
||||||
MTD_UBI_TARGETS := $(addprefix $(MTD_DIR)/ubi-utils/, $(MTD_TARGETS_UBI_y))
|
$(TARGET_CONFIGURE_ENV) \
|
||||||
MTD_BUILD_TARGETS := $(MTD_TARGETS) $(MTD_UBI_TARGETS)
|
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) \
|
||||||
|
WITHOUT_XATTR=1 WITHOUT_LARGEFILE=1
|
||||||
|
|
||||||
$(MTD_BUILD_TARGETS): $(MTD_DIR)/.unpacked
|
ifneq ($(MTD_TARGETS_y),)
|
||||||
ifneq ($(MTD_TARGETS),)
|
define MTD_TARGETS_BUILD
|
||||||
$(MAKE) $(TARGET_CONFIGURE_ENV) \
|
$(MAKE) $(MTD_MAKE_COMMON_FLAGS) \
|
||||||
BUILDDIR=$(MTD_DIR) \
|
BUILDDIR=$(@D) \
|
||||||
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) \
|
-C $(@D) \
|
||||||
WITHOUT_XATTR=1 WITHOUT_LARGEFILE=1 \
|
$(addprefix $(@D)/, $(MTD_TARGETS_y))
|
||||||
-C $(MTD_DIR) $(MTD_TARGETS)
|
endef
|
||||||
endif
|
|
||||||
ifneq ($(MTD_UBI_TARGETS),)
|
|
||||||
$(MAKE) $(TARGET_CONFIGURE_ENV) \
|
|
||||||
BUILDDIR=$(MTD_DIR)/ubi-utils \
|
|
||||||
CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) \
|
|
||||||
WITHOUT_XATTR=1 WITHOUT_LARGEFILE=1 \
|
|
||||||
-C $(MTD_DIR)/ubi-utils $(MTD_UBI_TARGETS)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MTD_TARGET_BINS := $(addprefix $(TARGET_DIR)/usr/sbin/,\
|
ifneq ($(MTD_TARGETS_UBI_y),)
|
||||||
$(MTD_TARGETS_y) $(MTD_TARGETS_UBI_y))
|
define MTD_TARGETS_UBI_BUILD
|
||||||
|
$(MAKE) $(MTD_MAKE_COMMON_FLAGS) \
|
||||||
$(MTD_TARGET_BINS): $(MTD_BUILD_TARGETS)
|
BUILDDIR=$(@D)/ubi-utils/ \
|
||||||
mkdir -p $(TARGET_DIR)/usr/sbin
|
-C $(@D)/ubi-utils \
|
||||||
$(INSTALL) -m 0755 $^ $(TARGET_DIR)/usr/sbin
|
$(addprefix $(@D)/ubi-utils/, $(MTD_TARGETS_UBI_y))
|
||||||
|
endef
|
||||||
mtd: $(if $(BR2_PACKAGE_MTD_MKFSJFFS2),zlib lzo) $(MTD_TARGET_BINS)
|
|
||||||
|
|
||||||
mtd-source: $(DL_DIR)/$(MTD_SOURCE)
|
|
||||||
|
|
||||||
mtd-clean:
|
|
||||||
-$(MAKE) -C $(MTD_DIR) clean
|
|
||||||
rm -f $(MTD_TARGET_BINS)
|
|
||||||
|
|
||||||
mtd-dirclean:
|
|
||||||
rm -rf $(MTD_DIR)
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_PACKAGE_MTD),y)
|
|
||||||
TARGETS+=mtd
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define MTD_BUILD_CMDS
|
||||||
|
$(MTD_TARGETS_BUILD)
|
||||||
|
$(MTD_TARGETS_UBI_BUILD)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define MTD_INSTALL_TARGET_CMDS
|
||||||
|
for f in $(MTD_TARGETS_y) ; do \
|
||||||
|
install -m 0755 $(@D)/$$f $(TARGET_DIR)/usr/sbin/$$f ; \
|
||||||
|
done ; \
|
||||||
|
for f in $(MTD_TARGETS_UBI_y) ; do \
|
||||||
|
install -m 0755 $(@D)/ubi-utils/$$f $(TARGET_DIR)/usr/sbin/$$f ; \
|
||||||
|
done
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,mtd))
|
||||||
|
$(eval $(call GENTARGETS,package,mtd,host))
|
||||||
|
6
package/squashfs/Config.in
Normal file
6
package/squashfs/Config.in
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
config BR2_PACKAGE_SQUASHFS
|
||||||
|
bool "squashfs"
|
||||||
|
help
|
||||||
|
Tools to generate SquashFS filesystems.
|
||||||
|
|
||||||
|
http://squashfs.sourceforge.net/
|
@ -1,12 +1,7 @@
|
|||||||
Fix the build system so that CFLAGS can be overriden on the command
|
Index: a/squashfs-tools/Makefile
|
||||||
line to pass additionnal -I options.
|
|
||||||
|
|
||||||
Patch borrowed from OpenEmbedded.
|
|
||||||
|
|
||||||
Index: squashfs-4.0/squashfs-tools/Makefile
|
|
||||||
===================================================================
|
===================================================================
|
||||||
--- squashfs-4.0.orig/squashfs-tools.orig/Makefile 2009-04-19 01:47:43.000000000 +0200
|
--- a/squashfs-tools.orig/Makefile 2009-04-19 01:47:43.000000000 +0200
|
||||||
+++ squashfs-4.0/squashfs-tools/Makefile 2009-04-19 01:52:36.000000000 +0200
|
+++ b/squashfs-tools/Makefile 2009-04-19 01:52:36.000000000 +0200
|
||||||
@@ -1,36 +1,48 @@
|
@@ -1,36 +1,48 @@
|
||||||
INSTALL_DIR = /usr/local/bin
|
INSTALL_DIR = /usr/local/bin
|
||||||
|
|
30
package/squashfs/squashfs.mk
Normal file
30
package/squashfs/squashfs.mk
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
SQUASHFS_VERSION=4.0
|
||||||
|
SQUASHFS_SOURCE=squashfs$(SQUASHFS_VERSION).tar.gz
|
||||||
|
SQUASHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/squashfs
|
||||||
|
|
||||||
|
SQUASHFS_DEPENDENCIES = zlib
|
||||||
|
HOST_SQUASHFS_DEPENDENCIES = host-zlib
|
||||||
|
|
||||||
|
define SQUASHFS_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) \
|
||||||
|
CC="$(TARGET_CC)" \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
|
-C $(@D)/squashfs-tools/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define SQUASHFS_INSTALL_TARGET_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(TARGET_DIR)/usr/bin install
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_SQUASHFS_BUILD_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define HOST_SQUASHFS_INSTALL_CMDS
|
||||||
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call GENTARGETS,package,squashfs))
|
||||||
|
$(eval $(call GENTARGETS,package,squashfs,host))
|
||||||
|
|
@ -29,7 +29,6 @@ config BR2_TARGET_TEST_PACKAGES
|
|||||||
select BR2_PACKAGE_DISTCC
|
select BR2_PACKAGE_DISTCC
|
||||||
select BR2_PACKAGE_DMALLOC
|
select BR2_PACKAGE_DMALLOC
|
||||||
select BR2_PACKAGE_FAKEROOT
|
select BR2_PACKAGE_FAKEROOT
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
select BR2_PACKAGE_GETTEXT
|
select BR2_PACKAGE_GETTEXT
|
||||||
select BR2_PACKAGE_GETTEXT_STATIC
|
select BR2_PACKAGE_GETTEXT_STATIC
|
||||||
select BR2_PACKAGE_LIBINTL
|
select BR2_PACKAGE_LIBINTL
|
||||||
|
@ -1,47 +1,4 @@
|
|||||||
menu "Target filesystem options"
|
menu "Bootloaders"
|
||||||
|
|
||||||
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/grub/Config.in"
|
||||||
#source "target/x86/grub2/Config.in"
|
#source "target/x86/grub2/Config.in"
|
||||||
|
@ -62,7 +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/*/*.mk
|
include target/*/*.mk
|
||||||
|
|
||||||
# kernel rules
|
# kernel rules
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
ifeq ($(BR2_TARGET_ROOTFS_CLOOP),y)
|
|
||||||
TARGETS+=clooproot
|
|
||||||
endif
|
|
@ -1,108 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# mkcloop to build to target cloop filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
CLOOP_VERSION=2.06
|
|
||||||
CLOOP_DIR=$(BUILD_DIR)/cloop-$(CLOOP_VERSION)
|
|
||||||
CLOOP_SOURCE=cloop_$(CLOOP_VERSION)-2.tar.gz
|
|
||||||
CLOOP_SITE=http://debian-knoppix.alioth.debian.org/sources/
|
|
||||||
|
|
||||||
CLOOP_TARGET:=$(IMAGE).cloop
|
|
||||||
### Note: not used yet! ck
|
|
||||||
### $(DL_DIR)/$(CLOOP_PATCH1):
|
|
||||||
### $(call DOWNLOAD,$(CLOOP_PATCH1_URL),$(CLOOP_PATCH1))
|
|
||||||
|
|
||||||
$(DL_DIR)/$(CLOOP_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(CLOOP_SITE),$(CLOOP_SOURCE))
|
|
||||||
|
|
||||||
$(CLOOP_DIR)/.unpacked: $(DL_DIR)/$(CLOOP_SOURCE) ### $(DL_DIR)/$(CLOOP_PATCH1)
|
|
||||||
$(ZCAT) $(DL_DIR)/$(CLOOP_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
touch $@
|
|
||||||
### $(ZCAT) $(DL_DIR)/$(CLOOP_PATCH1) | patch -p1 -d $(CLOOP_DIR)
|
|
||||||
### toolchain/patch-kernel.sh $(CLOOP_DIR) target/cloop/ cloop\*.patch
|
|
||||||
|
|
||||||
$(CLOOP_DIR)/create_compressed_fs: $(CLOOP_DIR)/.unpacked
|
|
||||||
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(CLOOP_DIR) \
|
|
||||||
APPSONLY=yes -j1
|
|
||||||
|
|
||||||
cloop: $(CLOOP_DIR)/create_compressed_fs
|
|
||||||
|
|
||||||
cloop-source: $(DL_DIR)/$(CLOOP_SOURCE)
|
|
||||||
|
|
||||||
cloop-clean:
|
|
||||||
-$(MAKE) -C $(CLOOP_DIR) clean
|
|
||||||
|
|
||||||
cloop-dirclean:
|
|
||||||
rm -rf $(CLOOP_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the cloop.o kernel module for the HOST
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
$(CLOOP_DIR)/cloop.o: $(CLOOP_DIR)/create_compressed_fs
|
|
||||||
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_ERROR_SILENT" -C $(CLOOP_DIR) -j1
|
|
||||||
|
|
||||||
cloop-module: $(CLOOP_DIR)/cloop.o
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the cloop root filesystem image
|
|
||||||
#
|
|
||||||
# Note: we need additionall host tools:
|
|
||||||
# required:
|
|
||||||
# mkisofs 2.01a34-unofficial-iconv from http://users.utu.fi/jahhein/mkisofs/
|
|
||||||
# optional:
|
|
||||||
# symlinks: scan/change symbolic links - v1.2 - by Mark Lord
|
|
||||||
# from ftp://ftp.ibiblio.org/pub/Linux/utils/file/
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
### Note: target/default/device_table.txt is not yet supported! ck
|
|
||||||
# the quickfix is to use sudo to mount the previous created cramroot
|
|
||||||
check-tools:
|
|
||||||
- which symlinks && symlinks -r $(TARGET_DIR)
|
|
||||||
|
|
||||||
$(IMAGE).cramfs: cramfsroot
|
|
||||||
|
|
||||||
clooproot: cloop check-tools $(IMAGE).cramfs
|
|
||||||
### $(CLOOP_DIR)/create_compressed_fs -q -D target/default/device_table.txt $(TARGET_DIR) $(CLOOP_TARGET)
|
|
||||||
## mkisofs -r $(TARGET_DIR) | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(CLOOP_TARGET)
|
|
||||||
sudo mkdir -p /mnt/compressed
|
|
||||||
sudo mount -o ro,loop -t cramfs $(IMAGE).cramfs /mnt/compressed
|
|
||||||
mkisofs -r /mnt/compressed | $(CLOOP_DIR)/create_compressed_fs - 65536 > $(CLOOP_TARGET)
|
|
||||||
- symlinks -r /mnt/compressed
|
|
||||||
sudo umount /mnt/compressed
|
|
||||||
@echo "Mounting a compressed image:"
|
|
||||||
@echo " sudo mkdir -p /mnt/compressed"
|
|
||||||
@echo " sudo /sbin/insmod cloop"
|
|
||||||
@echo " sudo /sbin/losetup /dev/cloop1 $(CLOOP_TARGET)"
|
|
||||||
@echo " sudo mount -o ro -t iso9660 /dev/cloop1 /mnt/compressed"
|
|
||||||
|
|
||||||
clooproot-source: cloop-source
|
|
||||||
|
|
||||||
clooproot-clean:
|
|
||||||
-$(MAKE) -C $(CLOOP_DIR) clean
|
|
||||||
|
|
||||||
clooproot-dirclean:
|
|
||||||
rm -rf $(CLOOP_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
# symlinks -r /mnt/compressed
|
|
||||||
# dangling: /mnt/compressed/dev/log -> /tmp/log
|
|
||||||
# other_fs: /mnt/compressed/etc/mtab -> /proc/mounts
|
|
||||||
# other_fs: /mnt/compressed/var/lib/pcmcia -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/lock -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/log -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/pcmcia -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/run -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/spool -> /tmp
|
|
||||||
# other_fs: /mnt/compressed/var/tmp -> /tmp
|
|
||||||
#
|
|
||||||
# ls -lrsS root_fs_*.*
|
|
||||||
# 1296 -rw-r--r-- 1 claus users 1325478 Mar 13 16:52 root_fs_powerpc.cloop
|
|
||||||
# 1448 -rw-r--r-- 1 claus users 1482752 Mar 13 16:52 root_fs_powerpc.cramfs
|
|
||||||
# 1840 -rw-r--r-- 1 claus users 1883408 Mar 13 13:14 root_fs_powerpc.jffs2
|
|
||||||
#############################################################
|
|
@ -1,87 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# cpio to archive target filesystem
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
CPIO_BASE:=$(IMAGE).cpio
|
|
||||||
|
|
||||||
CPIO_ROOTFS_COMPRESSOR:=
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_EXT:=
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_PREREQ:=
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_CPIO_GZIP),y)
|
|
||||||
CPIO_ROOTFS_COMPRESSOR:=gzip -9 -c
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_EXT:=gz
|
|
||||||
#CPIO_ROOTFS_COMPRESSOR_PREREQ:= gzip-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_CPIO_BZIP2),y)
|
|
||||||
CPIO_ROOTFS_COMPRESSOR:=bzip2 -9 -c
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_EXT:=bz2
|
|
||||||
#CPIO_ROOTFS_COMPRESSOR_PREREQ:= bzip2-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_CPIO_LZMA),y)
|
|
||||||
CPIO_ROOTFS_COMPRESSOR:=lzma -9 -c
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_EXT:=lzma
|
|
||||||
CPIO_ROOTFS_COMPRESSOR_PREREQ:= lzma-host
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(CPIO_ROOTFS_COMPRESSOR),)
|
|
||||||
CPIO_TARGET := $(CPIO_BASE).$(CPIO_ROOTFS_COMPRESSOR_EXT)
|
|
||||||
else
|
|
||||||
CPIO_TARGET := $(CPIO_BASE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ROOTFS_CPIO_COPYTO:=$(call qstrip,$(BR2_TARGET_ROOTFS_CPIO_COPYTO))
|
|
||||||
#
|
|
||||||
|
|
||||||
cpioroot-init:
|
|
||||||
rm -f $(TARGET_DIR)/init
|
|
||||||
ln -s sbin/init $(TARGET_DIR)/init
|
|
||||||
|
|
||||||
$(CPIO_BASE): host-fakeroot makedevs cpioroot-init
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so tar believes the previous fakery
|
|
||||||
echo "cd $(TARGET_DIR) && find . | cpio --quiet -o -H newc > $(CPIO_BASE)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
#-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(CPIO_BASE))
|
|
||||||
ifeq ($(CPIO_ROOTFS_COMPRESSOR),)
|
|
||||||
ifneq ($(ROOTFS_CPIO_COPYTO),)
|
|
||||||
$(Q)cp -f $(CPIO_BASE) $(ROOTFS_CPIO_COPYTO)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(CPIO_ROOTFS_COMPRESSOR),)
|
|
||||||
$(CPIO_BASE).$(CPIO_ROOTFS_COMPRESSOR_EXT): $(CPIO_ROOTFS_COMPRESSOR_PREREQ) $(CPIO_BASE)
|
|
||||||
$(CPIO_ROOTFS_COMPRESSOR) $(CPIO_BASE) > $(CPIO_TARGET)
|
|
||||||
ifneq ($(ROOTFS_CPIO_COPYTO),)
|
|
||||||
$(Q)cp -f $(CPIO_BASE).$(CPIO_ROOTFS_COMPRESSOR_EXT) $(ROOTFS_CPIO_COPYTO).$(CPIO_ROOTFS_COMPRESSOR_EXT)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
cpioroot: $(CPIO_TARGET)
|
|
||||||
|
|
||||||
cpioroot-source:
|
|
||||||
|
|
||||||
cpioroot-clean:
|
|
||||||
|
|
||||||
cpioroot-dirclean:
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_CPIO),y)
|
|
||||||
TARGETS+=cpioroot
|
|
||||||
endif
|
|
@ -1,86 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# mkcramfs to build to target cramfs filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
CRAMFS_DIR=$(BUILD_DIR)/cramfs-1.1
|
|
||||||
CRAMFS_SOURCE=cramfs-1.1.tar.gz
|
|
||||||
ifeq ($(call qstrip,$(BR2_SOURCEFORGE_MIRROR)),unc)
|
|
||||||
# UNC does not seem to have cramfs
|
|
||||||
CRAMFS_SITE=http://internap.dl.sourceforge.net/sourceforge/cramfs
|
|
||||||
else
|
|
||||||
CRAMFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/cramfs
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(DL_DIR)/$(CRAMFS_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(CRAMFS_SITE),$(CRAMFS_SOURCE))
|
|
||||||
|
|
||||||
$(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE)
|
|
||||||
$(ZCAT) $(DL_DIR)/$(CRAMFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
toolchain/patch-kernel.sh $(CRAMFS_DIR) target/cramfs/ cramfs\*.patch
|
|
||||||
|
|
||||||
$(CRAMFS_DIR)/mkcramfs: $(CRAMFS_DIR)
|
|
||||||
$(MAKE) CFLAGS="$(HOST_CFLAGS) -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="$(HOST_LDFLAGS)" -C $(CRAMFS_DIR)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
cramfs: host-zlib $(CRAMFS_DIR)/mkcramfs
|
|
||||||
|
|
||||||
cramfs-source: $(DL_DIR)/$(CRAMFS_SOURCE)
|
|
||||||
|
|
||||||
cramfs-clean:
|
|
||||||
-$(MAKE) -C $(CRAMFS_DIR) clean
|
|
||||||
|
|
||||||
cramfs-dirclean:
|
|
||||||
rm -rf $(CRAMFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the cramfs root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_ENDIAN),"BIG")
|
|
||||||
CRAMFS_OPTS=-b
|
|
||||||
else
|
|
||||||
CRAMFS_OPTS=-l
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
CRAMFS_OPTS += -D $(TARGET_DEVICE_TABLE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
CRAMFS_TARGET=$(IMAGE).cramfs
|
|
||||||
|
|
||||||
cramfsroot: host-fakeroot makedevs cramfs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so mkcramfs believes the previous fakery
|
|
||||||
echo "$(CRAMFS_DIR)/mkcramfs -q $(CRAMFS_OPTS) " \
|
|
||||||
"$(TARGET_DIR) $(CRAMFS_TARGET)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
|
||||||
|
|
||||||
cramfsroot-source: cramfs-source
|
|
||||||
|
|
||||||
cramfsroot-clean:
|
|
||||||
-$(MAKE) -C $(CRAMFS_DIR) clean
|
|
||||||
|
|
||||||
cramfsroot-dirclean:
|
|
||||||
rm -rf $(CRAMFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_CRAMFS),y)
|
|
||||||
TARGETS+=cramfsroot
|
|
||||||
endif
|
|
@ -1,146 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# genext2fs to build to target ext2 filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
GENEXT2_VERSION=1.4
|
|
||||||
GENEXT2_DIR=$(BUILD_DIR)/genext2fs-$(GENEXT2_VERSION)
|
|
||||||
GENEXT2_SOURCE=genext2fs-$(GENEXT2_VERSION).tar.gz
|
|
||||||
GENEXT2_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/genext2fs
|
|
||||||
|
|
||||||
$(DL_DIR)/$(GENEXT2_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(GENEXT2_SITE),$(GENEXT2_SOURCE))
|
|
||||||
|
|
||||||
$(GENEXT2_DIR)/.unpacked: $(DL_DIR)/$(GENEXT2_SOURCE)
|
|
||||||
$(ZCAT) $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
|
|
||||||
chmod a+x $(GENEXT2_DIR)/configure
|
|
||||||
(cd $(GENEXT2_DIR); rm -rf config.cache; \
|
|
||||||
./configure $(QUIET) \
|
|
||||||
CC="$(HOSTCC)" \
|
|
||||||
--prefix=$(STAGING_DIR) \
|
|
||||||
)
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)/.configured
|
|
||||||
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
|
|
||||||
-D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
genext2fs: $(GENEXT2_DIR)/genext2fs
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the ext2 root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
EXT2_OPTS :=
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2_SQUASH),y)
|
|
||||||
EXT2_OPTS += -U
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
|
|
||||||
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
|
|
||||||
EXT2_OPTS += -N $(BR2_TARGET_ROOTFS_EXT2_INODES)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),)
|
|
||||||
EXT2_OPTS += -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXT2_BASE := $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_OUTPUT))
|
|
||||||
|
|
||||||
EXT2_ROOTFS_COMPRESSOR:=
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_EXT:=
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_PREREQ:=
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2_GZIP),y)
|
|
||||||
EXT2_ROOTFS_COMPRESSOR:=gzip -9 -c
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_EXT:=gz
|
|
||||||
#EXT2_ROOTFS_COMPRESSOR_PREREQ:= gzip-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2_BZIP2),y)
|
|
||||||
EXT2_ROOTFS_COMPRESSOR:=bzip2 -9 -c
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_EXT:=bz2
|
|
||||||
#EXT2_ROOTFS_COMPRESSOR_PREREQ:= bzip2-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2_LZMA),y)
|
|
||||||
EXT2_ROOTFS_COMPRESSOR:=lzma -9 -c
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_EXT:=lzma
|
|
||||||
EXT2_ROOTFS_COMPRESSOR_PREREQ:= lzma-host
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(EXT2_ROOTFS_COMPRESSOR),)
|
|
||||||
EXT2_TARGET := $(EXT2_BASE).$(EXT2_ROOTFS_COMPRESSOR_EXT)
|
|
||||||
else
|
|
||||||
EXT2_TARGET := $(EXT2_BASE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(EXT2_BASE): host-fakeroot makedevs genext2fs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so genext2fs believes the previous fakery
|
|
||||||
ifeq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
|
|
||||||
GENEXT2_REALSIZE=`LC_ALL=C du -s -c -k $(TARGET_DIR) | grep total | sed -e "s/total//"`; \
|
|
||||||
GENEXT2_ADDTOROOTSIZE=`if [ $$GENEXT2_REALSIZE -ge 20000 ]; then echo 16384; else echo 2400; fi`; \
|
|
||||||
GENEXT2_SIZE=`expr $$GENEXT2_REALSIZE + $$GENEXT2_ADDTOROOTSIZE`; \
|
|
||||||
GENEXT2_ADDTOINODESIZE=`find $(TARGET_DIR) | wc -l`; \
|
|
||||||
GENEXT2_INODES=`expr $$GENEXT2_ADDTOINODESIZE + 400`; \
|
|
||||||
set -x; \
|
|
||||||
echo "$(GENEXT2_DIR)/genext2fs -b $$GENEXT2_SIZE " \
|
|
||||||
"-N $$GENEXT2_INODES -d $(TARGET_DIR) " \
|
|
||||||
"$(EXT2_OPTS) $(EXT2_BASE)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
else
|
|
||||||
echo "$(GENEXT2_DIR)/genext2fs -d $(TARGET_DIR) " \
|
|
||||||
"$(EXT2_OPTS) $(EXT2_BASE)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
endif
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
|
||||||
|
|
||||||
ifneq ($(EXT2_ROOTFS_COMPRESSOR),)
|
|
||||||
$(EXT2_BASE).$(EXT2_ROOTFS_COMPRESSOR_EXT): $(EXT2_ROOTFS_COMPRESSOR_PREREQ) $(EXT2_BASE)
|
|
||||||
$(EXT2_ROOTFS_COMPRESSOR) $(EXT2_BASE) > $(EXT2_TARGET)
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXT2_COPYTO := $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_COPYTO))
|
|
||||||
|
|
||||||
ext2root: $(EXT2_TARGET)
|
|
||||||
@ls -l $(EXT2_TARGET)
|
|
||||||
ifneq ($(EXT2_COPYTO),)
|
|
||||||
@cp -f $(EXT2_TARGET) $(EXT2_COPYTO)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ext2root-source: $(DL_DIR)/$(GENEXT2_SOURCE)
|
|
||||||
|
|
||||||
ext2root-clean:
|
|
||||||
-$(MAKE) -C $(GENEXT2_DIR) clean
|
|
||||||
|
|
||||||
ext2root-dirclean:
|
|
||||||
rm -rf $(GENEXT2_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2),y)
|
|
||||||
TARGETS+=ext2root
|
|
||||||
endif
|
|
@ -1,43 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Make a initramfs_list file to be used by gen_init_cpio
|
|
||||||
# gen_init_cpio is part of the 2.6 linux kernels to build an
|
|
||||||
# initial ramdisk filesystem based on cpio
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
|
||||||
INITRAMFS_TARGET:=$(IMAGE).initramfs_list
|
|
||||||
else
|
|
||||||
INITRAMFS_TARGET:= #nothing
|
|
||||||
endif
|
|
||||||
|
|
||||||
TARGETS+=$(INITRAMFS_TARGET)
|
|
||||||
|
|
||||||
$(INITRAMFS_TARGET) initramfs: host-fakeroot makedevs
|
|
||||||
rm -f $(TARGET_DIR)/init
|
|
||||||
ln -s sbin/init $(TARGET_DIR)/init
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
# Use fakeroot so gen_initramfs_list.sh believes the previous fakery
|
|
||||||
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(TARGET_DIR) > $(INITRAMFS_TARGET)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
-rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
|
|
||||||
initramfs-source:
|
|
||||||
|
|
||||||
initramfs-clean:
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
|
||||||
-rm -f $(INITRAMFS_TARGET)
|
|
||||||
endif
|
|
||||||
initramfs-dirclean:
|
|
||||||
|
|
||||||
|
|
@ -1,95 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# mkisofs to build to target iso9660 filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
MKISOFS_SOURCE:=cdrtools-2.01.tar.bz2
|
|
||||||
MKISOFS_CAT:=$(BZCAT)
|
|
||||||
MKISOFS_SITE:=ftp://ftp.berlios.de/pub/cdrecord/
|
|
||||||
MKISOFS_DIR:=$(BUILD_DIR)/cdrtools-2.01
|
|
||||||
MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/$(HOST_ARCH)-linux-cc/mkisofs
|
|
||||||
|
|
||||||
hest:
|
|
||||||
@echo ARCH=$(BR2_ARCH) HOST_ARCH=$(HOST_ARCH)
|
|
||||||
$(DL_DIR)/$(MKISOFS_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(MKISOFS_SITE),$(MKISOFS_SOURCE))
|
|
||||||
|
|
||||||
mkisofs-source: $(DL_DIR)/$(MKISOFS_SOURCE)
|
|
||||||
|
|
||||||
$(MKISOFS_DIR)/.unpacked: $(DL_DIR)/$(MKISOFS_SOURCE)
|
|
||||||
$(MKISOFS_CAT) $(DL_DIR)/$(MKISOFS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
|
||||||
toolchain/patch-kernel.sh $(MKISOFS_DIR) target/iso9660/ \*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(MKISOFS_DIR)/.configured: $(MKISOFS_DIR)/.unpacked
|
|
||||||
(cd $(MKISOFS_DIR); rm -rf config.cache; \
|
|
||||||
);
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(MKISOFS_TARGET): $(MKISOFS_DIR)/.configured
|
|
||||||
$(MAKE) -C $(MKISOFS_DIR)
|
|
||||||
touch -c $(MKISOFS_DIR)/mkisofs
|
|
||||||
|
|
||||||
mkisofs: $(MKISOFS_TARGET)
|
|
||||||
|
|
||||||
mkisofs-clean:
|
|
||||||
-$(MAKE) -C $(MKISOFS_DIR) clean
|
|
||||||
|
|
||||||
mkisofs-dirclean:
|
|
||||||
rm -rf $(MKISOFS_DIR)
|
|
||||||
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the iso96600 root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
ISO9660_TARGET_DIR=$(BUILD_DIR)/iso9660
|
|
||||||
ISO9660_TARGET:=$(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_OUTPUT))
|
|
||||||
ISO9660_BOOT_MENU:=$(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU))
|
|
||||||
ISO9660_OPTS:=
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_ISO9660_SQUASH),y)
|
|
||||||
ISO9660_OPTS+=-U
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(ISO9660_TARGET): host-fakeroot $(LINUX_KERNEL) $(EXT2_TARGET) grub mkisofs
|
|
||||||
mkdir -p $(ISO9660_TARGET_DIR)
|
|
||||||
mkdir -p $(ISO9660_TARGET_DIR)/boot/grub
|
|
||||||
cp $(GRUB_DIR)/stage2/stage2_eltorito $(ISO9660_TARGET_DIR)/boot/grub/
|
|
||||||
cp $(ISO9660_BOOT_MENU) $(ISO9660_TARGET_DIR)/boot/grub/menu.lst
|
|
||||||
cp $(LINUX_KERNEL) $(ISO9660_TARGET_DIR)/kernel
|
|
||||||
cp $(EXT2_TARGET) $(ISO9660_TARGET_DIR)/initrd
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
echo "chown -R 0:0 $(ISO9660_TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
# Use fakeroot so mkisofs believes the previous fakery
|
|
||||||
echo "$(MKISOFS_TARGET) -R -b boot/grub/stage2_eltorito -no-emul-boot " \
|
|
||||||
"-boot-load-size 4 -boot-info-table -o $(ISO9660_TARGET) $(ISO9660_TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(ISO9660_TARGET))
|
|
||||||
|
|
||||||
iso9660root: $(ISO9660_TARGET)
|
|
||||||
echo $(ISO9660_TARGET)
|
|
||||||
@ls -l $(ISO9660_TARGET)
|
|
||||||
|
|
||||||
iso9660root-source: mkisofs-source
|
|
||||||
|
|
||||||
iso9660root-clean: mkisofs-clean
|
|
||||||
|
|
||||||
iso9660root-dirclean: mkisofs-dirclean
|
|
||||||
rm -rf $(ISO9660_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y)
|
|
||||||
TARGETS+=iso9660root
|
|
||||||
endif
|
|
@ -1,99 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the jffs2 root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
JFFS2_OPTS := -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
|
|
||||||
SUMTOOL_OPTS := $(JFFS2_OPTS)
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_PAD),y)
|
|
||||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE)),0x0)
|
|
||||||
JFFS2_OPTS += --pad=$(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
|
|
||||||
else
|
|
||||||
JFFS2_OPTS += -p
|
|
||||||
endif
|
|
||||||
SUMTOOL_OPTS += -p
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
|
|
||||||
JFFS2_OPTS += -l
|
|
||||||
SUMTOOL_OPTS += -l
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_BE),y)
|
|
||||||
JFFS2_OPTS += -b
|
|
||||||
SUMTOOL_OPTS += -b
|
|
||||||
endif
|
|
||||||
|
|
||||||
JFFS2_OPTS += -s $(BR2_TARGET_ROOTFS_JFFS2_PAGESIZE)
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER),y)
|
|
||||||
JFFS2_OPTS += -n
|
|
||||||
SUMTOOL_OPTS += -n
|
|
||||||
endif
|
|
||||||
|
|
||||||
JFFS2_TARGET := $(call qstrip,$(BR2_TARGET_ROOTFS_JFFS2_OUTPUT))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
JFFS2_OPTS += -D $(TARGET_DEVICE_TABLE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# mtd-host is a dependency which builds a local copy of mkfs.jffs2 if it is needed.
|
|
||||||
# the actual build is done from package/mtd/mtd.mk and it sets the
|
|
||||||
# value of MKFS_JFFS2 to either the previously installed copy or the one
|
|
||||||
# just built.
|
|
||||||
#
|
|
||||||
$(JFFS2_TARGET): host-fakeroot makedevs mtd-host
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so mkfs.jffs2 believes the previous fakery
|
|
||||||
ifneq ($(BR2_TARGET_ROOTFS_JFFS2_SUMMARY),)
|
|
||||||
echo "$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $(JFFS2_TARGET).nosummary && " \
|
|
||||||
"$(SUMTOOL) $(SUMTOOL_OPTS) -i $(JFFS2_TARGET).nosummary -o $(JFFS2_TARGET) && " \
|
|
||||||
"rm $(JFFS2_TARGET).nosummary" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
else
|
|
||||||
echo "$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $(JFFS2_TARGET)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
endif
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
|
||||||
@ls -l $(JFFS2_TARGET)
|
|
||||||
ifeq ($(BR2_JFFS2_TARGET_SREC),y)
|
|
||||||
$(TARGET_CROSS)objcopy -I binary -O srec --adjust-vma 0xa1000000 $(JFFS2_TARGET) $(JFFS2_TARGET).srec
|
|
||||||
@ls -l $(JFFS2_TARGET).srec
|
|
||||||
endif
|
|
||||||
|
|
||||||
JFFS2_COPYTO := $(call qstrip,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO))
|
|
||||||
|
|
||||||
jffs2root: $(JFFS2_TARGET)
|
|
||||||
ifneq ($(JFFS2_COPYTO),)
|
|
||||||
@cp -f $(JFFS2_TARGET) $(JFFS2_COPYTO)
|
|
||||||
endif
|
|
||||||
|
|
||||||
jffs2root-source: mtd-host-source
|
|
||||||
|
|
||||||
jffs2root-clean: mtd-host-clean
|
|
||||||
-rm -f $(JFFS2_TARGET)
|
|
||||||
|
|
||||||
jffs2root-dirclean: mtd-host-dirclean
|
|
||||||
-rm -f $(JFFS2_TARGET)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2),y)
|
|
||||||
TARGETS+=jffs2root
|
|
||||||
endif
|
|
@ -1,71 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# genromfs to build to target romfs filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ROMFS_VERSION=0.5.2
|
|
||||||
ROMFS_DIR=$(BUILD_DIR)/genromfs-$(ROMFS_VERSION)
|
|
||||||
ROMFS_SOURCE=genromfs-$(ROMFS_VERSION).tar.gz
|
|
||||||
ROMFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/romfs
|
|
||||||
|
|
||||||
$(DL_DIR)/$(ROMFS_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(ROMFS_SITE),$(ROMFS_SOURCE))
|
|
||||||
|
|
||||||
$(ROMFS_DIR): $(DL_DIR)/$(ROMFS_SOURCE)
|
|
||||||
$(ZCAT) $(DL_DIR)/$(ROMFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
|
|
||||||
$(ROMFS_DIR)/genromfs: $(ROMFS_DIR)
|
|
||||||
$(MAKE) -C $(ROMFS_DIR)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
romfs: $(ROMFS_DIR)/genromfs
|
|
||||||
|
|
||||||
romfs-source: $(DL_DIR)/$(ROMFS_SOURCE)
|
|
||||||
|
|
||||||
romfs-clean:
|
|
||||||
-$(MAKE) -C $(ROMFS_DIR) clean
|
|
||||||
|
|
||||||
romfs-dirclean:
|
|
||||||
rm -rf $(ROMFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the romfs root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
ROMFS_TARGET=$(IMAGE).romfs
|
|
||||||
|
|
||||||
romfsroot: host-fakeroot makedevs romfs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so genromfs believes the previous fakery
|
|
||||||
echo "$(ROMFS_DIR)/genromfs -d $(TARGET_DIR) -f $(ROMFS_TARGET)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_TARGET))
|
|
||||||
|
|
||||||
romfsroot-source: romfs-source
|
|
||||||
|
|
||||||
romfsroot-clean:
|
|
||||||
-$(MAKE) -C $(ROMFS_DIR) clean
|
|
||||||
|
|
||||||
romfsroot-dirclean:
|
|
||||||
rm -rf $(ROMFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_ROMFS),y)
|
|
||||||
TARGETS+=romfsroot
|
|
||||||
endif
|
|
@ -1,32 +0,0 @@
|
|||||||
config BR2_TARGET_ROOTFS_SQUASHFS
|
|
||||||
bool "squashfs root filesystem"
|
|
||||||
select BR2_HOST_FAKEROOT
|
|
||||||
help
|
|
||||||
Build a squashfs root filesystem
|
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "Squashfs version"
|
|
||||||
default BR2_TARGET_ROOTFS_SQUASHFS_4
|
|
||||||
depends on BR2_TARGET_ROOTFS_SQUASHFS
|
|
||||||
help
|
|
||||||
Select squashfs version - This must match what your kernel
|
|
||||||
supports. Select 3.x if you use the legacy 3.x kernel
|
|
||||||
patches (pre 2.6.29), and 4.x otherwise.
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_SQUASHFS_3
|
|
||||||
depends on BR2_DEPRECATED || BR2_RECENT
|
|
||||||
bool "3.x"
|
|
||||||
help
|
|
||||||
Select this if you use the legacy 3.x kernel patches (pre 2.6.29)
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_SQUASHFS_4
|
|
||||||
bool "4.x"
|
|
||||||
help
|
|
||||||
Select this if you use the squashfs version in mainline (from 2.6.29)
|
|
||||||
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_SQUASHFS_VERSION
|
|
||||||
string
|
|
||||||
default "3.4" if BR2_TARGET_ROOTFS_SQUASHFS_3
|
|
||||||
default "4.0" if BR2_TARGET_ROOTFS_SQUASHFS_4
|
|
@ -1,28 +0,0 @@
|
|||||||
[PATCH]: squashfs-tools: Handle user supplied CFLAGS/LDFLAGS
|
|
||||||
|
|
||||||
Properly handle make CFLAGS=.. LDFLAGS=..
|
|
||||||
|
|
||||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
||||||
---
|
|
||||||
squashfs-tools/Makefile | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
Index: squashfs3.4/squashfs-tools/Makefile
|
|
||||||
===================================================================
|
|
||||||
--- squashfs3.4.orig/squashfs-tools/Makefile
|
|
||||||
+++ squashfs3.4/squashfs-tools/Makefile
|
|
||||||
@@ -2,12 +2,12 @@ INSTALL_DIR = /usr/local/bin
|
|
||||||
|
|
||||||
INCLUDEDIR = .
|
|
||||||
|
|
||||||
-CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2
|
|
||||||
+override CFLAGS += -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2
|
|
||||||
|
|
||||||
all: mksquashfs unsquashfs
|
|
||||||
|
|
||||||
mksquashfs: mksquashfs.o read_fs.o sort.o
|
|
||||||
- $(CC) mksquashfs.o read_fs.o sort.o -lz -lpthread -lm -o $@
|
|
||||||
+ $(CC) $(LDFLAGS) mksquashfs.o read_fs.o sort.o -lz -lpthread -lm -o $@
|
|
||||||
|
|
||||||
mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
|
|
||||||
|
|
@ -1,85 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# mksquashfs to build to target squashfs filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
SQUASHFS_VERSION:=$(call qstrip,$(BR2_TARGET_ROOTFS_SQUASHFS_VERSION))
|
|
||||||
SQUASHFS_DIR:=$(BUILD_DIR)/squashfs$(SQUASHFS_VERSION)
|
|
||||||
SQUASHFS_SOURCE:=squashfs$(SQUASHFS_VERSION).tar.gz
|
|
||||||
SQUASHFS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/squashfs
|
|
||||||
SQUASHFS_CAT:=$(ZCAT)
|
|
||||||
|
|
||||||
$(DL_DIR)/$(SQUASHFS_SOURCE):
|
|
||||||
$(call DOWNLOAD,$(SQUASHFS_SITE),$(SQUASHFS_SOURCE))
|
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/.unpacked: $(DL_DIR)/$(SQUASHFS_SOURCE) #$(SQUASHFS_PATCH)
|
|
||||||
$(SQUASHFS_CAT) $(DL_DIR)/$(SQUASHFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
toolchain/patch-kernel.sh $(SQUASHFS_DIR) target/squashfs/ squashfs-$(SQUASHFS_VERSION)-\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(SQUASHFS_DIR)/squashfs-tools/mksquashfs: $(SQUASHFS_DIR)/.unpacked
|
|
||||||
$(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(SQUASHFS_DIR)/squashfs-tools
|
|
||||||
|
|
||||||
squashfs: host-zlib $(SQUASHFS_DIR)/squashfs-tools/mksquashfs
|
|
||||||
|
|
||||||
squashfs-source: $(DL_DIR)/$(SQUASHFS_SOURCE)
|
|
||||||
|
|
||||||
squashfs-clean:
|
|
||||||
-$(MAKE) -C $(SQUASHFS_DIR)/squashfs-tools clean
|
|
||||||
|
|
||||||
squashfs-dirclean:
|
|
||||||
rm -rf $(SQUASHFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the squashfs root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS_3),y)
|
|
||||||
# 4.x is always little endian
|
|
||||||
ifeq ($(BR2_ENDIAN),"BIG")
|
|
||||||
SQUASHFS_ENDIANNESS=-be
|
|
||||||
else
|
|
||||||
SQUASHFS_ENDIANNESS=-le
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
SQUASHFS_TARGET:=$(IMAGE).squashfs
|
|
||||||
|
|
||||||
squashfsroot: host-fakeroot makedevs squashfs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so mksquashfs believes the previous fakery
|
|
||||||
echo "$(SQUASHFS_DIR)/squashfs-tools/mksquashfs " \
|
|
||||||
"$(TARGET_DIR) $(SQUASHFS_TARGET) " \
|
|
||||||
"-noappend $(SQUASHFS_ENDIANNESS)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
chmod 0644 $(SQUASHFS_TARGET)
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
|
||||||
|
|
||||||
squashfsroot-source: squashfs-source
|
|
||||||
|
|
||||||
squashfsroot-clean:
|
|
||||||
-$(MAKE) -C $(SQUASHFS_DIR) clean
|
|
||||||
|
|
||||||
squashfsroot-dirclean:
|
|
||||||
rm -rf $(SQUASHFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS),y)
|
|
||||||
TARGETS+=squashfsroot
|
|
||||||
endif
|
|
@ -1,64 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# tar to archive target filesystem
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
TAR_OPTS:=$(BR2_TARGET_ROOTFS_TAR_OPTIONS)
|
|
||||||
TAR_TARGET:=$(IMAGE).tar
|
|
||||||
|
|
||||||
TAR_COMPRESSOR:=
|
|
||||||
TAR_COMPRESSOR_EXT:=.none
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_TAR_GZIP),y)
|
|
||||||
TAR_COMPRESSOR:=gzip -9 -c
|
|
||||||
TAR_COMPRESSOR_EXT:=gz
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_TAR_BZIP2),y)
|
|
||||||
TAR_COMPRESSOR:=bzip2 -9 -c
|
|
||||||
TAR_COMPRESSOR_EXT:=bz2
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_TAR_LZMA),y)
|
|
||||||
TAR_COMPRESSOR:=lzma -9 -c
|
|
||||||
TAR_COMPRESSOR_EXT:=lzma
|
|
||||||
endif
|
|
||||||
ROOTFS_TAR_COPYTO:=$(call qstrip,$(BR2_TARGET_ROOTFS_TAR_COPYTO))
|
|
||||||
|
|
||||||
tarroot: host-fakeroot makedevs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so tar believes the previous fakery
|
|
||||||
echo "tar -c$(TAR_OPTS)f $(TAR_TARGET) -C $(TARGET_DIR) ." \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
ifneq ($(TAR_COMPRESSOR),)
|
|
||||||
-rm -f $(TAR_TARGET).$()
|
|
||||||
PATH="$(STAGING_DIR)/sbin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(PATH)" $(TAR_COMPRESSOR) $(TAR_TARGET) > $(TAR_TARGET).$(TAR_COMPRESSOR_EXT)
|
|
||||||
endif
|
|
||||||
ifneq ($(ROOTFS_TAR_COPYTO),)
|
|
||||||
$(Q)cp -f $(TAR_TARGET) $(ROOTFS_TAR_COPYTO)
|
|
||||||
endif
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
|
||||||
|
|
||||||
tarroot-source:
|
|
||||||
|
|
||||||
tarroot-clean:
|
|
||||||
|
|
||||||
tarroot-dirclean:
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_TAR),y)
|
|
||||||
TARGETS+=tarroot
|
|
||||||
endif
|
|
@ -1,125 +0,0 @@
|
|||||||
#############################################################
|
|
||||||
#
|
|
||||||
# mkfs.ubifs to build to target ubifs filesystems
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
#MKFS_UBIFS_VERSION=2582f128dad78591bc3adcc87c343c690bb82e61
|
|
||||||
#MKFS_UBIFS_URL=http://git.infradead.org/users/dedekind/mkfs.ubifs.git?a=snapshot;h=$(MKFS_UBIFS_VERSION);sf=tgz
|
|
||||||
MKFS_UBIFS_VERSION=v0.4
|
|
||||||
MKFS_UBIFS_URL=http://git.infradead.org/users/dedekind/mkfs.ubifs.git?a=snapshot;h=refs/tags/mkfs.ubifs-$(MKFS_UBIFS_VERSION);sf=tgz
|
|
||||||
MKFS_UBIFS_SOURCE:=mkfs.ubifs-$(MKFS_UBIFS_VERSION).tar.gz
|
|
||||||
MKFS_UBIFS_DIR:= $(BUILD_DIR)/mkfs-ubifs-$(MKFS_UBIFS_VERSION)
|
|
||||||
MKFS_UBIFS_CAT:=$(ZCAT)
|
|
||||||
MKFS_UBIFS_NAME:=mkfs.ubifs
|
|
||||||
|
|
||||||
$(DL_DIR)/$(MKFS_UBIFS_SOURCE):
|
|
||||||
$(WGET) -O $(DL_DIR)/$(MKFS_UBIFS_SOURCE) "$(MKFS_UBIFS_URL)"
|
|
||||||
|
|
||||||
$(MKFS_UBIFS_DIR)/.unpacked: $(DL_DIR)/$(MKFS_UBIFS_SOURCE)
|
|
||||||
$(ZCAT) $(DL_DIR)/$(MKFS_UBIFS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
|
||||||
mv $(BUILD_DIR)/$(MKFS_UBIFS_NAME) $(MKFS_UBIFS_DIR)
|
|
||||||
toolchain/patch-kernel.sh $(MKFS_UBIFS_DIR) target/ubifs/ mkfs-ubifs-\*.patch
|
|
||||||
touch $@
|
|
||||||
|
|
||||||
$(MKFS_UBIFS_DIR)/mkfs.ubifs: $(MKFS_UBIFS_DIR)/.unpacked
|
|
||||||
$(MAKE) -C $(MKFS_UBIFS_DIR)
|
|
||||||
touch -c $@
|
|
||||||
|
|
||||||
mkfs.ubifs-dirclean:
|
|
||||||
rm -rf $(MKFS_UBIFS_DIR)
|
|
||||||
|
|
||||||
mkfs.ubifs: $(MKFS_UBIFS_DIR)/mkfs.ubifs
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Build the ubifs root filesystem image
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
|
|
||||||
UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT) -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE)
|
|
||||||
|
|
||||||
UBIFS_BASE := $(call qstrip,$(BR2_TARGET_ROOTFS_UBIFS_OUTPUT))
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB),y)
|
|
||||||
UBIFS_OPTS += -x zlib
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZI),y)
|
|
||||||
UBIFS_OPTS += -x lzo
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y)
|
|
||||||
UBIFS_OPTS += -x none
|
|
||||||
endif
|
|
||||||
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR:=
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_EXT:=
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_PREREQ:=
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_GZIP),y)
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR:=gzip -9 -c
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_EXT:=gz
|
|
||||||
#UBIFS_ROOTFS_COMPRESSOR_PREREQ:= gzip-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_BZIP2),y)
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR:=bzip2 -9 -c
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_EXT:=bz2
|
|
||||||
#UBIFS_ROOTFS_COMPRESSOR_PREREQ:= bzip2-host
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_LZMA),y)
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR:=lzma -9 -c
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_EXT:=lzma
|
|
||||||
UBIFS_ROOTFS_COMPRESSOR_PREREQ:= lzma-host
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(UBIFS_ROOTFS_COMPRESSOR),)
|
|
||||||
UBIFS_TARGET := $(UBIFS_BASE).$(UBIFS_ROOTFS_COMPRESSOR_EXT)
|
|
||||||
else
|
|
||||||
UBIFS_TARGET := $(UBIFS_BASE)
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(UBIFS_BASE): host-fakeroot makedevs mkfs.ubifs
|
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
|
||||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
|
||||||
cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
|
||||||
>> $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
endif
|
|
||||||
# Use fakeroot so mkfs.ubifs believes the previous fakery
|
|
||||||
echo "$(MKFS_UBIFS_DIR)/mkfs.ubifs -d $(TARGET_DIR) " \
|
|
||||||
"$(UBIFS_OPTS) -o $(UBIFS_BASE)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
$(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
-@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
|
||||||
|
|
||||||
ifneq ($(UBIFS_ROOTFS_COMPRESSOR),)
|
|
||||||
$(UBIFS_BASE).$(UBIFS_ROOTFS_COMPRESSOR_EXT): $(UBIFS_ROOTFS_COMPRESSOR_PREREQ) $(UBIFS_BASE)
|
|
||||||
$(UBIFS_ROOTFS_COMPRESSOR) $(UBIFS_BASE) > $(UBIFS_TARGET)
|
|
||||||
endif
|
|
||||||
|
|
||||||
UBIFS_COPYTO := $(call qstrip,$(BR2_TARGET_ROOTFS_UBIFS_COPYTO))
|
|
||||||
|
|
||||||
ubifsroot: $(UBIFS_TARGET)
|
|
||||||
@ls -l $(UBIFS_TARGET)
|
|
||||||
ifneq ($(UBIFS_COPYTO),)
|
|
||||||
@cp -f $(UBIFS_TARGET) $(UBIFS_COPYTO)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ubifsroot-source: $(DL_DIR)/$(MKFS_UBIFS_SOURCE)
|
|
||||||
|
|
||||||
ubifsroot-clean:
|
|
||||||
-$(MAKE) -C $(MKFS_UBIFS_DIR) clean
|
|
||||||
|
|
||||||
ubifsroot-dirclean:
|
|
||||||
rm -rf $(MKFS_UBIFS_DIR)
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
#
|
|
||||||
# Toplevel Makefile options
|
|
||||||
#
|
|
||||||
#############################################################
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS),y)
|
|
||||||
TARGETS+=ubifsroot
|
|
||||||
endif
|
|
||||||
|
|
@ -94,7 +94,6 @@ BR2_TOOLCHAIN_BUILDROOT=y
|
|||||||
#
|
#
|
||||||
# Other development stuff
|
# Other development stuff
|
||||||
#
|
#
|
||||||
BR2_HOST_FAKEROOT=y
|
|
||||||
# BR2_PACKAGE_LIBINTL is not set
|
# BR2_PACKAGE_LIBINTL is not set
|
||||||
# For NFS mount:
|
# For NFS mount:
|
||||||
BR2_PACKAGE_PORTMAP=y
|
BR2_PACKAGE_PORTMAP=y
|
||||||
|
@ -122,7 +122,7 @@ if ! $SHELL --version 2>&1 | grep -q '^GNU bash'; then
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
# Check that a few mandatory programs are installed
|
# Check that a few mandatory programs are installed
|
||||||
for prog in awk bison flex msgfmt makeinfo patch gzip bzip2 perl tar wget ; do
|
for prog in awk bison flex msgfmt makeinfo patch gzip bzip2 perl tar wget cpio ; do
|
||||||
if ! which $prog > /dev/null ; then
|
if ! which $prog > /dev/null ; then
|
||||||
/bin/echo -e "\nYou must install '$prog' on your build machine";
|
/bin/echo -e "\nYou must install '$prog' on your build machine";
|
||||||
if test $prog = "makeinfo" ; then
|
if test $prog = "makeinfo" ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user