diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:53:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-19 09:53:00 +0100 |
commit | a934246178d7c686bf28c3dbed57b06120cb48d0 (patch) | |
tree | ee9df21508827ce7f2539edd7926c0c3a54d9eb0 /package/base-files/Makefile | |
parent | b5b2d187c4e25998dc560ad59c6e4aa77fb9463b (diff) |
rename DEVICE to ADK_TARGET
- the name is better, because qemu f.e. is no hardware device
- use make TARGET=alix1c to start with a configuration for this target
- use make TARGET=alix1c allmodconfig to generate a mostly complete config
to build all available packages for this platform as a package
The all.config and .defconfig files needed to get this working are
dynamically generated.
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 52130bf10..f785e303e 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk PKG_NAME:= base-files PKG_VERSION:= 1.0 -PKG_RELEASE:= 6 +PKG_RELEASE:= 7 PKG_DESCR:= basic filesystem structure and scripts PKG_SECTION:= base @@ -15,7 +15,7 @@ NO_DISTFILES:= 1 ifeq ($(CPU_ARCH),x86_64) PKG_ID= x86-64-${FS} else -PKG_ID= ${DEVICE}-${FS} +PKG_ID= ${ADK_TARGET}-${FS} endif WRKDIR= ${WRKDIR_BASE}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-${PKG_ID} @@ -25,8 +25,8 @@ $(eval $(call PKG_template,BASE_FILES,base-files-${PKG_ID},${PKG_VERSION}-${PKG_ do-install: $(CP) ./extra/* $(IDIR_BASE_FILES) - $(CP) $(TOPDIR)/target/$(DEVICE)/files/* $(IDIR_BASE_FILES) - $(SED) 's,@TARGET@,$(DEVICE),g' $(IDIR_BASE_FILES)/etc/ipkg.conf + $(CP) $(TOPDIR)/target/$(ADK_TARGET)/files/* $(IDIR_BASE_FILES) + $(SED) 's,@TARGET@,$(ADK_TARGET),g' $(IDIR_BASE_FILES)/etc/ipkg.conf $(SED) 's,@VERSION@,$(ADK_VERSION),g' $(IDIR_BASE_FILES)/etc/ipkg.conf echo /bin/sh >${IDIR_BASE_FILES}/etc/shells echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells |