X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=config.mk;h=885215799e6bde51c9b5e65c0a44d764e6826248;hb=cfb3a736ffcff3e3753b902cad536f22fcf8961d;hp=f2c2c6cc9427d78da5531bd15f271d661f7087aa;hpb=dcf728a6afc3e5b6031c520f9393e860b732b2ea;p=platform%2Fkernel%2Fu-boot.git diff --git a/config.mk b/config.mk index f2c2c6c..8852157 100644 --- a/config.mk +++ b/config.mk @@ -83,10 +83,10 @@ RANLIB = $(CROSS_COMPILE)RANLIB sinclude $(OBJTREE)/include/autoconf.mk ifdef ARCH -sinclude $(TOPDIR)/$(ARCH)_config.mk # include architecture dependend rules +sinclude $(TOPDIR)/lib_$(ARCH)/config.mk # include architecture dependend rules endif ifdef CPU -sinclude $(TOPDIR)/cpu/$(CPU)/config.mk # include CPU specific rules +sinclude $(TOPDIR)/cpu/$(CPU)/config.mk # include CPU specific rules endif ifdef SOC sinclude $(TOPDIR)/cpu/$(CPU)/$(SOC)/config.mk # include SoC specific rules @@ -166,7 +166,7 @@ endif AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS) -LDFLAGS += -Bstatic -T $(LDSCRIPT) $(PLATFORM_LDFLAGS) +LDFLAGS += -Bstatic -T $(obj)u-boot.lds $(PLATFORM_LDFLAGS) ifneq ($(TEXT_BASE),) LDFLAGS += -Ttext $(TEXT_BASE) endif @@ -196,7 +196,7 @@ endif ######################################################################### -export HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \ +export HOSTCC HOSTCFLAGS CROSS_COMPILE \ AS LD CC CPP AR NM STRIP OBJCOPY OBJDUMP MAKE export TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS