summaryrefslogtreecommitdiff
path: root/target/squashfs/squashfs-4.0-build-system-fix.patch
AgeCommit message (Collapse)Author
2010-04-09target/squashfs: cleanup, remove support for 3.xThomas Petazzoni
Remove the code to build squashfs-tools for the host, since they can now be built using package/squashfs. We also remove support for Squashfs 3.x, because the Squashfs driver merged inside the mainline kernel is a 4.x driver. So 3.x is only useful for old kernels using a Squashfs patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26squashfs: pass CFLAGS/LDFLAGS and add host-zlib dependencyThomas Petazzoni
Squashfs depends on host-zlib, so we add this as a dependency. As host-zlib is installed in $(HOST_DIR), we must pass $(HOST_CFLAGS) and $(HOST_LDFLAGS). Unfortunately, if we pass CFLAGS=$(HOST_CFLAGS), we override the CFLAGS defined in the Makefile, and the build fails. Therefore, we borrow a patch from OpenEmbedded to fix this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>