TODO list for each hardware target can be found as sticky topic in the corresponding forum
[PATCH] Makefile fixes I'm not sure what it's usually like but building trunk is certainly quite problematic at the moment! Most of the errors were down to the change in GNU make and this only occured within the upstream makefiles, which we have limited control of. Fair enough. However, there was also a problem with Switchfin's own makefiles where it was assumed that there is only entity in build_ip04/root/lib/modules. I also have symlinks for "build" and "source" in there. It is not unusual for these symlinks to be there. To cut a long story short, this causes the installation of kernel modules to make a mess and sometimes result in an error. If we assume that the kernel name always ends in "switchfin" then the following patch will fix the problem.
Edited By: Chewi Jun-13-11 18:54:15 |
|
|
|
Administrator has disabled public posting |
Re: [PATCH] Makefile fixes Hi Chewi,
|
|
|
|
Administrator has disabled public posting |
Re: [PATCH] Makefile fixes I missed a word there, it should have been only *one* entity. In other words, the directory is assumed to only contain 2.6.34.7-ADI-2010R1switchfin or similar. Interestingly, I have rebuilt the image since and the "build" and "source" symlinks have disappeared. Still, it's best not to assume the contents of this directory. Checking for 2.6.* might have been a safe bet until a couple of weeks ago. |
|
|
|
Administrator has disabled public posting |
Re: [PATCH] Makefile fixes From the Blackfin uClinux FAQ...
It goes on to say that a fix has been committed to SVN but the patch it references only fixes Busybox. I found more instances of the problem in other parts of the distribution. For your information, I have make 3.82. |
|
|
|
Administrator has disabled public posting |
Re: [PATCH] Makefile fixes Hi James,
|
|
|
|
Administrator has disabled public posting |
- Index
- » Developers
- » General discussions
- » [PATCH] Makefile fixes
Most Active Users
Board Info
- Board Stats: Total Users: 2583 Total Topics: 290 Total Polls: 1 Total Posts: 1725 Dormant
- User Info: Newest User : ZS6GDM Members Online: 0 Guests Online: 45
- Online There are no members online
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked
Also, "tail -n1" makes sure it picks the newest kernel version rather than the oldest one.




























