Kbuild: include autoconf.h when building offsets
USERINCLUDE not needed anymore. Change-Id: I0c975d93686c6f5bb3025cd2dffd88a859ad5ebe Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
13a0223cda
commit
3a6ac16eae
1 changed files with 2 additions and 1 deletions
3
Kbuild
3
Kbuild
|
@ -80,6 +80,7 @@ define rule_cc_o_c_1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
OFFSETS_INCLUDE = $(strip \
|
OFFSETS_INCLUDE = $(strip \
|
||||||
|
-include $(CURDIR)/include/generated/autoconf.h \
|
||||||
-I $(srctree)/include \
|
-I $(srctree)/include \
|
||||||
-I $(CURDIR)/include/generated \
|
-I $(CURDIR)/include/generated \
|
||||||
-I $(srctree)/kernel/microkernel/include \
|
-I $(srctree)/kernel/microkernel/include \
|
||||||
|
@ -87,7 +88,7 @@ OFFSETS_INCLUDE = $(strip \
|
||||||
-I $(srctree)/lib/libc/minimal/include \
|
-I $(srctree)/lib/libc/minimal/include \
|
||||||
-I $(srctree)/arch/${SRCARCH}/include )
|
-I $(srctree)/arch/${SRCARCH}/include )
|
||||||
|
|
||||||
cmd_cc_o_c_1 = $(CC) $(KBUILD_CFLAGS) $(OFFSETS_INCLUDE) -include $(CURDIR)/include/generated/autoconf.h $(USERINCLUDE) -c -o $@ $<
|
cmd_cc_o_c_1 = $(CC) $(KBUILD_CFLAGS) $(OFFSETS_INCLUDE) -c -o $@ $<
|
||||||
|
|
||||||
arch/$(SRCARCH)/core/offsets/offsets.o: arch/$(SRCARCH)/core/offsets/offsets.c
|
arch/$(SRCARCH)/core/offsets/offsets.o: arch/$(SRCARCH)/core/offsets/offsets.c
|
||||||
$(Q)mkdir -p $(dir $@)
|
$(Q)mkdir -p $(dir $@)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue