diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-17 20:17:21 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-17 20:17:21 +0100 |
commit | f9b8f27119a5fc811c2a0a25e686638c8b5680b8 (patch) | |
tree | 53cbbe8044f43ed924da0c725c2df9b9b331f3a3 /mk | |
parent | bb17a19fcc7f7d10369eed7f6c8662f6e4df9d4b (diff) |
add sangam-atm package
- driver package for ag241 dsl modem, it loads, but
we will see if it works..
Diffstat (limited to 'mk')
-rw-r--r-- | mk/kernel-build.mk | 6 | ||||
-rw-r--r-- | mk/kernel-vars.mk | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk index c32964c10..3c594ef90 100644 --- a/mk/kernel-build.mk +++ b/mk/kernel-build.mk @@ -4,14 +4,10 @@ include $(TOPDIR)/rules.mk include $(TOPDIR)/mk/linux.mk include ${TOPDIR}/mk/buildhlp.mk +include ${TOPDIR}/mk/kernel-vars.mk KERNEL_PKGDIR:=$(LINUX_BUILD_DIR)/kernel-pkg -KERNEL_MAKE_OPTS:= -C "${LINUX_DIR}" V=1 -ifneq ($(ADK_NATIVE),y) -KERNEL_MAKE_OPTS+= CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) CC="$(TARGET_CC)" -endif - $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION)/.patched: $(TRACE) target/$(ADK_TARGET)-kernel-patch $(PATCH) $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) ../linux/patches/$(KERNEL_VERSION) *.patch $(MAKE_TRACE) diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk new file mode 100644 index 000000000..cbc1257ff --- /dev/null +++ b/mk/kernel-vars.mk @@ -0,0 +1,8 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +KERNEL_MAKE_OPTS:= -C "${LINUX_DIR}" V=1 +ifneq ($(ADK_NATIVE),y) +KERNEL_MAKE_OPTS+= CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) CC="$(TARGET_CC)" +endif + |