mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
build system: fix build in separate obj tree
This commit is contained in:
parent
1db39b2f51
commit
665b02cb60
1
Makefile
1
Makefile
@ -399,6 +399,7 @@ ifeq ($(config-targets),1)
|
||||
export KBUILD_DEFCONFIG
|
||||
|
||||
config %config: scripts_basic outputmakefile FORCE
|
||||
$(Q)mkdir -p include
|
||||
$(Q)$(MAKE) $(build)=scripts/kconfig $@
|
||||
$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
|
||||
|
||||
|
@ -13,4 +13,4 @@ lib-$(CONFIG_LSATTR) += lsattr.o
|
||||
lib-$(CONFIG_MKE2FS) += mke2fs.o util.o
|
||||
lib-$(CONFIG_TUNE2FS) += tune2fs.o util.o
|
||||
|
||||
CFLAGS += -include e2fsprogs/e2fsbb.h
|
||||
CFLAGS += -include $(srctree)/e2fsprogs/e2fsbb.h
|
||||
|
@ -13,11 +13,11 @@ lib-y:=
|
||||
lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \
|
||||
probe.o read.o resolve.o save.o tag.o list.o
|
||||
|
||||
CFLAGS_dev.o := -include include/busybox.h
|
||||
CFLAGS_devname.o := -include include/busybox.h
|
||||
CFLAGS_devno.o := -include include/busybox.h
|
||||
CFLAGS_blkid_getsize.o := -include include/busybox.h
|
||||
CFLAGS_probe.o := -include include/busybox.h
|
||||
CFLAGS_save.o := -include include/busybox.h
|
||||
CFLAGS_tag.o := -include include/busybox.h
|
||||
CFLAGS_list.o := -include include/busybox.h
|
||||
CFLAGS_dev.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_devname.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_devno.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_probe.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_save.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_tag.o := -include $(srctree)/include/busybox.h
|
||||
CFLAGS_list.o := -include $(srctree)/include/busybox.h
|
||||
|
@ -20,4 +20,4 @@ lib-$(NEEDED-y) += gen_bitmap.o bitops.o ismounted.o mkjournal.o unix_io.o \
|
||||
dirhash.o version.o flushb.o unlink.o check_desc.o valid_blk.o \
|
||||
ext_attr.o bmap.o dblist_dir.o ext2fs_inline.o swapfs.o
|
||||
|
||||
CFLAGS += -include e2fsprogs/e2fsbb.h
|
||||
CFLAGS += -include $(srctree)/e2fsprogs/e2fsbb.h
|
||||
|
Loading…
Reference in New Issue
Block a user