diff options
-rw-r--r-- | package/simpleinit/Makefile | 2 | ||||
-rw-r--r-- | toolchain/gcc/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/package/simpleinit/Makefile b/package/simpleinit/Makefile index 43ea68660..b06bd736a 100644 --- a/package/simpleinit/Makefile +++ b/package/simpleinit/Makefile @@ -19,6 +19,8 @@ CONFIG_STYLE:= manual BUILD_STYLE:= manual INSTALL_STYLE:= manual +TARGET_CPPFLAGS+= -DCONFIG_USER_INIT_CONSOLE_SH + do-build: PATH="${TOOLCHAIN_DIR}/usr/bin:$$PATH" \ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \ diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index efe5231c1..bbe049826 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -273,7 +273,7 @@ endif rm -rf $(TOOLCHAIN_DIR)/usr/share # create gcc wrapper for uClinux/m68k echo "#!/bin/sh" > $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc - echo "exec ${GNU_TARGET_NAME}-gcc \"$$@\" -specs $(ADK_TOPDIR)/toolchain/gcc/m68k-uclinux-gcc.specs" >> $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc + echo "exec ${GNU_TARGET_NAME}-gcc \"\$$@\" -specs $(ADK_TOPDIR)/toolchain/gcc/m68k-uclinux-gcc.specs" >> $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc chmod a+x $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc touch $@ |