From 9d6eef9b39547d230d5a7cb871735bae71f5fd55 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 Aug 2014 12:28:55 +0200 Subject: we need to remove crtbegin.o/crtend.o from gcc specs file. otherwise broken executables (f.e. sash) with a wrong data start are created by elf2flt) --- package/simpleinit/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/simpleinit/Makefile') diff --git a/package/simpleinit/Makefile b/package/simpleinit/Makefile index aeeedfc08..43ea68660 100644 --- a/package/simpleinit/Makefile +++ b/package/simpleinit/Makefile @@ -20,10 +20,14 @@ BUILD_STYLE:= manual INSTALL_STYLE:= manual do-build: + PATH="${TOOLCHAIN_DIR}/usr/bin:$$PATH" \ ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \ -o ${WRKBUILD}/simpleinit ${WRKBUILD}/simpleinit.c do-install: + ${INSTALL_DIR} ${IDIR_SIMPLEINIT}/etc + ${CP} ./files/rc ${IDIR_SIMPLEINIT}/etc + ${CP} ./files/inittab ${IDIR_SIMPLEINIT}/etc ${INSTALL_DIR} ${IDIR_SIMPLEINIT}/sbin ${INSTALL_BIN} ${WRKBUILD}/simpleinit ${IDIR_SIMPLEINIT}/sbin/init -- cgit v1.2.3