diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-11 21:24:42 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-11 21:24:42 +0000 |
| commit | 665b02cb60c32268fa3c7129f70ee44255d64dd3 (patch) | |
| tree | accce5270686c2cd26cddd06f00961427577fa69 | |
| parent | 1db39b2f51c2877ad4b5c0094f2e1f8d6449ca91 (diff) | |
| download | busybox-w32-665b02cb60c32268fa3c7129f70ee44255d64dd3.tar.gz busybox-w32-665b02cb60c32268fa3c7129f70ee44255d64dd3.tar.bz2 busybox-w32-665b02cb60c32268fa3c7129f70ee44255d64dd3.zip | |
build system: fix build in separate obj tree
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | e2fsprogs/Kbuild | 2 | ||||
| -rw-r--r-- | e2fsprogs/blkid/Kbuild | 16 | ||||
| -rw-r--r-- | e2fsprogs/ext2fs/Kbuild | 2 |
4 files changed, 11 insertions, 10 deletions
| @@ -399,6 +399,7 @@ ifeq ($(config-targets),1) | |||
| 399 | export KBUILD_DEFCONFIG | 399 | export KBUILD_DEFCONFIG |
| 400 | 400 | ||
| 401 | config %config: scripts_basic outputmakefile FORCE | 401 | config %config: scripts_basic outputmakefile FORCE |
| 402 | $(Q)mkdir -p include | ||
| 402 | $(Q)$(MAKE) $(build)=scripts/kconfig $@ | 403 | $(Q)$(MAKE) $(build)=scripts/kconfig $@ |
| 403 | $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease | 404 | $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease |
| 404 | 405 | ||
diff --git a/e2fsprogs/Kbuild b/e2fsprogs/Kbuild index edd0d5eab..b05bb92e1 100644 --- a/e2fsprogs/Kbuild +++ b/e2fsprogs/Kbuild | |||
| @@ -13,4 +13,4 @@ lib-$(CONFIG_LSATTR) += lsattr.o | |||
| 13 | lib-$(CONFIG_MKE2FS) += mke2fs.o util.o | 13 | lib-$(CONFIG_MKE2FS) += mke2fs.o util.o |
| 14 | lib-$(CONFIG_TUNE2FS) += tune2fs.o util.o | 14 | lib-$(CONFIG_TUNE2FS) += tune2fs.o util.o |
| 15 | 15 | ||
| 16 | CFLAGS += -include e2fsprogs/e2fsbb.h | 16 | CFLAGS += -include $(srctree)/e2fsprogs/e2fsbb.h |
diff --git a/e2fsprogs/blkid/Kbuild b/e2fsprogs/blkid/Kbuild index 98b5c277f..ddcfdfd9a 100644 --- a/e2fsprogs/blkid/Kbuild +++ b/e2fsprogs/blkid/Kbuild | |||
| @@ -13,11 +13,11 @@ lib-y:= | |||
| 13 | lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \ | 13 | lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \ |
| 14 | probe.o read.o resolve.o save.o tag.o list.o | 14 | probe.o read.o resolve.o save.o tag.o list.o |
| 15 | 15 | ||
| 16 | CFLAGS_dev.o := -include include/busybox.h | 16 | CFLAGS_dev.o := -include $(srctree)/include/busybox.h |
| 17 | CFLAGS_devname.o := -include include/busybox.h | 17 | CFLAGS_devname.o := -include $(srctree)/include/busybox.h |
| 18 | CFLAGS_devno.o := -include include/busybox.h | 18 | CFLAGS_devno.o := -include $(srctree)/include/busybox.h |
| 19 | CFLAGS_blkid_getsize.o := -include include/busybox.h | 19 | CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h |
| 20 | CFLAGS_probe.o := -include include/busybox.h | 20 | CFLAGS_probe.o := -include $(srctree)/include/busybox.h |
| 21 | CFLAGS_save.o := -include include/busybox.h | 21 | CFLAGS_save.o := -include $(srctree)/include/busybox.h |
| 22 | CFLAGS_tag.o := -include include/busybox.h | 22 | CFLAGS_tag.o := -include $(srctree)/include/busybox.h |
| 23 | CFLAGS_list.o := -include include/busybox.h | 23 | CFLAGS_list.o := -include $(srctree)/include/busybox.h |
diff --git a/e2fsprogs/ext2fs/Kbuild b/e2fsprogs/ext2fs/Kbuild index d7d6f9a9b..185887a44 100644 --- a/e2fsprogs/ext2fs/Kbuild +++ b/e2fsprogs/ext2fs/Kbuild | |||
| @@ -20,4 +20,4 @@ lib-$(NEEDED-y) += gen_bitmap.o bitops.o ismounted.o mkjournal.o unix_io.o \ | |||
| 20 | dirhash.o version.o flushb.o unlink.o check_desc.o valid_blk.o \ | 20 | dirhash.o version.o flushb.o unlink.o check_desc.o valid_blk.o \ |
| 21 | ext_attr.o bmap.o dblist_dir.o ext2fs_inline.o swapfs.o | 21 | ext_attr.o bmap.o dblist_dir.o ext2fs_inline.o swapfs.o |
| 22 | 22 | ||
| 23 | CFLAGS += -include e2fsprogs/e2fsbb.h | 23 | CFLAGS += -include $(srctree)/e2fsprogs/e2fsbb.h |
