OpenWrt Forum Archive

Topic: Makefile Error When Adding New Target...

The content of this topic has been archived on 24 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to get OpenWRT to compile for a OMAP Beagleboard target, when ever I do a make menuconfig I get the error, "ERROR: please fix target/linux/beagle/Makefile" My Makefile is as follows...

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk

ARCH=arm
BOARD:=beagle
BOARDNAME:=Beagleboard
FEATURES:=jffs2 tgz

LINUX_VERSION:=2.6.29

include $(INCLUDE_DIR)/target.mk

define Target/Description
    Beagleboard TI OMAP3530 ARM Cortex-A8
endef

KERNELNAME:="uImage"

$(eval $(call BuildTarget))
$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
       Please install mkisofs. \
))

Is there a way to get a more specific error message?

(Last edited by pvm on 13 Sep 2009, 21:16)

To answer my own question.  The problem is that "LINUX_VERSION" is defined to be 2.6.29 but 2.6.29 doesn't exist in the target/linux/generic-2.6 directory changing it to a version that is in there like 2.6.31 fixes the error message.

i run openwrt trunk at bb rev 3C, i have working dss2, and asoc driver. I use 2.6.29 kernel.

The discussion might have continued from here.