diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-28 22:25:29 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-28 22:27:34 -0600 |
commit | 0e3585dae500fb0a976888f5dbdf3a37769680ec (patch) | |
tree | 89f0f3768794a9daf3253c8a2e832c3ebb3a582a /package/simpleinit/Makefile | |
parent | 6488ae4a7b82ac7c95adc34281459c373fba6be3 (diff) |
bring coldfire support in shape
Binutils 2.24 is required to get a working kernel.
Ethernet in Qemu is still broken.
Qemu Patch is still rquired in 2.2.0.
Only kernel+initramfs is working.
It seems the signal handler problem is gone with
sash and simpleinit.
Diffstat (limited to 'package/simpleinit/Makefile')
-rw-r--r-- | package/simpleinit/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/package/simpleinit/Makefile b/package/simpleinit/Makefile index b06bd736a..ab1d15928 100644 --- a/package/simpleinit/Makefile +++ b/package/simpleinit/Makefile @@ -1,19 +1,20 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -include ${ADK_TOPDIR}/rules.mk +include $(ADK_TOPDIR)/rules.mk PKG_NAME:= simpleinit PKG_VERSION:= 1.0 PKG_RELEASE:= 1 PKG_DESCR:= simple init for systems without mmu PKG_SECTION:= base/apps +PKG_CFLINE_SIMPLEINIT:= select BUSYBOX_INIT n NO_DISTFILES:= 1 -include ${ADK_TOPDIR}/mk/package.mk +include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,SIMPLEINIT,simpleinit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,SIMPLEINIT,simpleinit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIG_STYLE:= manual BUILD_STYLE:= manual @@ -22,15 +23,15 @@ 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} \ - -o ${WRKBUILD}/simpleinit ${WRKBUILD}/simpleinit.c + PATH='$(HOST_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 + $(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 -include ${ADK_TOPDIR}/mk/pkg-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |