X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3f494f8d220f2b1a40a6749e814b46eca48792ac..6e8c336f90f207ebc635f7ee57284256ec675bf2:/target/linux/magicbox-2.6/Makefile?ds=sidebyside diff --git a/target/linux/magicbox-2.6/Makefile b/target/linux/magicbox-2.6/Makefile index 7ffd11c66..20325a8fa 100644 --- a/target/linux/magicbox-2.6/Makefile +++ b/target/linux/magicbox-2.6/Makefile @@ -6,17 +6,14 @@ # include $(TOPDIR)/rules.mk -LINUX_VERSION:=2.6.17 -LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=37ddefe96625502161f075b9d907f21e +ARCH:=powerpc +BOARD:=magicbox +BOARDNAME:=Magicbox +FEATURES:=jffs2 -include ./config -include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel-build.mk -$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked - [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE) - [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches $(MAKE_TRACE) - @$(CP) config $(LINUX_DIR)/.config - touch $@ +# include the profiles +-include profiles/*.mk +$(eval $(call BuildKernel))