Changeset 5110


Ignore:
Timestamp:
Feb 10, 2010 7:53:40 PM (3 years ago)
Author:
oxygene
Message:

Remove uses of the shell to remove double quotes, or to figure out the
current directory (already available in $(PWD))

Signed-off-by: Patrick Georgi <patrick.georgi@…>
Acked-by: Stefan Reinauer <stepan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r5109 r5110  
    2323include .xcompile 
    2424 
    25 export top := $(shell pwd) 
     25export top := $(PWD) 
    2626export src := $(top)/src 
    2727export srck := $(top)/util/kconfig 
     
    7474ARCHDIR-$(CONFIG_ARCH_POWERPC) := ppc 
    7575 
    76 MAINBOARDDIR=$(shell echo $(CONFIG_MAINBOARD_DIR)) 
     76MAINBOARDDIR=$(subst ",,$(CONFIG_MAINBOARD_DIR)) 
    7777export MAINBOARDDIR 
    7878 
     
    8585 
    8686ifneq ($(CONFIG_LOCALVERSION),"") 
    87 COREBOOT_EXTRA_VERSION := -$(shell echo $(CONFIG_LOCALVERSION)) 
     87COREBOOT_EXTRA_VERSION := -$(subst ",,$(CONFIG_LOCALVERSION)) 
    8888endif 
    8989 
     
    141141define objs_dsl_template 
    142142$(obj)/$(1)%.o: src/$(1)%.asl 
    143         @printf "    IASL       $$(subst $$(shell pwd)/,,$$(@))\n" 
     143        @printf "    IASL       $$(subst $(top)/,,$$(@))\n" 
    144144        $(CPP) -D__ACPI__ -P $(CPPFLAGS) -include $(obj)/config.h -I$(src) -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$(basename $$@).asl 
    145145        iasl -p $$(basename $$@) -tc $$(basename $$@).asl 
Note: See TracChangeset for help on using the changeset viewer.