[#5044] mtd-utils fails to compile
Submitted By: Peter Meerwald
Open Date
2009-04-03 14:24:01 Close Date
2009-04-08 22:11:58
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
snaps Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
SVN rev7956
App binary format:
N/A
Summary: mtd-utils fails to compile
Details:
wrong path to staging/usr/include, staging/usr/lib
CROSS=bfin-linux-uclibc- missing
Index: user/mtd-utils/Makefile
===================================================================
--- user/mtd-utils/Makefile (revision 7956)
+++ user/mtd-utils/Makefile (working copy)
@@ -38,7 +38,7 @@
UBI_MKFS_TARGETS = $(UBI_MKFS_TARGETS-m) $(UBI_MKFS_TARGETS-y)
define MAKE_MTD
- $(MAKE) -C $(VER)/$(2) WITHOUT_XATTR=1 SUBDIRS=BUILDDIR=$$PWD/build-$(VER)$(4)/$(2) TARGETS="$(1)" CFLAGS="$(3) -I $(STAGEDIR)/include/ -L $(STAGEDIR)/lib/"
+ $(MAKE) -C $(VER)/$(2) WITHOUT_XATTR=1 SUBDIRS= CROSS=bfin-linux-uclibc- BUILDDIR=$$PWD/build-$(VER)$(4)/$(2) TARGETS="$(1)" CFLAGS="$(3) -I $(STAGEDIR)/usr/include/ -L $(STAGEDIR)/usr/lib/"
endef
define MAKE_HOST_MTD
unset CC CFLAGS CPPFLAGS CROSS LDFLAGS; $(call MAKE_MTD,$(1),$(2),,-host)
Follow-ups
--- Mike Frysinger 2009-04-03 14:45:20
the CFLAGS are wrong and shouldnt be there in the first place ... fixed in svn
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found