diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-14 06:56:43 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-14 07:11:11 +0200 |
commit | 0acaf5127ede7fc0eac16c950e4a450e76962ff9 (patch) | |
tree | 0230245f222f5b698247f445a1a650077f2cc5ab /mdk-stage1 | |
parent | d1428ab987921f077b67a82b3aa3d569e1bfabce (diff) | |
download | drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.gz drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.bz2 drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.tar.xz drakx-0acaf5127ede7fc0eac16c950e4a450e76962ff9.zip |
further simplify through substitution references
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/Makefile | 6 | ||||
-rw-r--r-- | mdk-stage1/Makefile.common | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index b170b73d3..381b4b172 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -42,7 +42,7 @@ INIT_DEFS += $(GLIBC_INCLUDES) STAGE1_DEFS=-DDISABLE_KA -INITOBJS = $(subst .c,.o,$(INITSRC)) +INITOBJS = $(INITSRC:.c=.o) #- frontends @@ -52,7 +52,7 @@ NEWT_FRONTEND_LIBS = -lnewt -lslang STDIO_FRONTEND_SRC = stdio-frontend.c STDIO_FRONTEND_LIBS = -FRONTEND_OBJS = $(subst .c,.o,$($(F)_FRONTEND_SRC)) +FRONTEND_OBJS = $($(F)_FRONTEND_SRC:.c=.o) FRONTEND_LINK = $(FRONTEND_OBJS) $($(F)_FRONTEND_LIBS) @@ -87,7 +87,7 @@ STAGE1OBJS-NETWORK-STANDALONE = $(subst .c,-NETWORK-STANDALONE.o,$(STAGE1SRC) $( NETWORK_STANDALONE_DEFS = -DDISABLE_CDROM -DDISABLE_DISK -DENABLE_NETWORK_STANDALONE -DDISABLE_KA -STAGE1OBJS-FULL = $(subst .c,-FULL.o,$(STAGE1_ALLSRC)) +STAGE1OBJS-FULL = $(STAGE1_ALLSRC:.c=-FULL.o) BINS = init stage1 dhcp-client rescue-gui probe-modules diff --git a/mdk-stage1/Makefile.common b/mdk-stage1/Makefile.common index 2d344a866..36fa34d49 100644 --- a/mdk-stage1/Makefile.common +++ b/mdk-stage1/Makefile.common @@ -15,7 +15,7 @@ #***************************************************************************** ARCH := $(patsubst i%86,i386,$(shell uname -m)) -ARCH := $(patsubst arm%,arm,$(ARCH)) +ARCH := $(ARCH:arm%=arm) # DEBUG = 1 |