summaryrefslogtreecommitdiff
path: root/package/em28xx/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-19 09:53:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-19 09:53:00 +0100
commita934246178d7c686bf28c3dbed57b06120cb48d0 (patch)
treeee9df21508827ce7f2539edd7926c0c3a54d9eb0 /package/em28xx/Makefile
parentb5b2d187c4e25998dc560ad59c6e4aa77fb9463b (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/em28xx/Makefile')
-rw-r--r--package/em28xx/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/em28xx/Makefile b/package/em28xx/Makefile
index 2a405660e..bd2ba0315 100644
--- a/package/em28xx/Makefile
+++ b/package/em28xx/Makefile
@@ -14,7 +14,7 @@ WRKDIST= ${WRKDIR}/${PKG_NAME}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,KMOD_EM28XX,kmod-em28xx,${KERNEL_VERSION}+${PKG_VERSION}-${DEVICE}-${PKG_RELEASE},kernel (${KERNEL_VERSION}-${DEVICE}-${KERNEL_RELEASE})))
+$(eval $(call PKG_template,KMOD_EM28XX,kmod-em28xx,${KERNEL_VERSION}+${PKG_VERSION}-${TARGET}-${PKG_RELEASE},kernel (${KERNEL_VERSION}-${TARGET}-${KERNEL_RELEASE})))
CONFIGURE_STYLE:= manual
BUILD_STYLE:= manual
@@ -22,7 +22,6 @@ BUILD_STYLE:= manual
EM28XX_MAKEOPTS= -C ${WRKBUILD} \
ARCH="${ARCH}" \
CROSS_COMPILE="${TARGET_CROSS}" \
- TARGET="${HAL_TARGET}" \
TOOLPREFIX="${TARGET_CROSS}" \
TOOLPATH="${TARGET_CROSS}" \
KERNELPATH="${LINUX_DIR}" \
@@ -35,7 +34,7 @@ do-build:
post-install:
${INSTALL_DIR} ${IDIR_KMOD_EM28XX}/etc/modules.d/
${INSTALL_DIR} ${IDIR_KMOD_EM28XX}/lib/modules/${KERNEL_VERSION}/
- ${CP} ${WRKBUILD}/*.ko \
+ ${CP} ${WRKBUILD}/*.ko \
${IDIR_KMOD_EM28XX}/lib/modules/${KERNEL_VERSION}/
include ${TOPDIR}/mk/pkg-bottom.mk