5,600,725 Members 37,915 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Help building CM for Nook HD+

Tip us?
 
ddpruitt
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2014
Default [Q] Help building CM for Nook HD+

I've been running CM on my HD+ for the last few months and it's been great. I'm working on making some modifications to the VM and to the kernel and it requires building CM from source. I've already done this with several other devices and have had only minor problems. I'm following the instructions and it can't build. I get the following error:

Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=10.2-20140120-UNOFFICIAL-ovation
TARGET_PRODUCT=cm_ovation
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.7.10-1.16-desktop-x86_64-with-SuSE-12.3-x86_64
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/david/Android/system/out
============================================
make: *** /.config: Is a directory. Stop.
I've searched and haven't found a solution but It seems like I'm missing a manifest or something. I'm wondering if this is missing from 10.2 and I should just try building 11 or if there's a way I can build from source.

Thanks to anyone who can help!
 
Sherip
Old
#2  
Senior Member
Thanks Meter 47
Posts: 269
Join Date: Jan 2012
No experience building CM but it looks like maybe /.config instead of ./config got invoked?

Sent from HD+ MAG2GA CM 11 from SD
 
sandsofmyst
Old
(Last edited by sandsofmyst; 24th January 2014 at 03:47 AM.)
#3  
Senior Member
Thanks Meter 50
Posts: 194
Join Date: Oct 2009
Did you follow this guide? -> http://wiki.cyanogenmod.org/w/Build_for_ovation (repo init for cm11 instead if cm11 is desired)

Its probably just an error that you made. I don't remember seeing it before.

Edit it doesn't like /.config. That much is obvious. So try to rename or move it or fix your problem to avoid it. (if its ~/.config be careful as that is an important dir.)

There is a .config in /out during building process which is the kernel defconfig file. There is also ~/.config. And that's all I know about that. Look around for .config or google your error with "/.config;" removed and see how the "make: *** is a directory. stop" plain version helps you.
HTC sensation 4G | cm11 albinoman ROM - 3/2/14 Workaround for incoming phone calls going to missed (including the swipe issue) with all cm based roms -> http://forum.xda-developers.com/show...&postcount=884
Nook HD+ 32 | cm11 emmc official ROM (331 hours of uptime reached with much daily use)
....Nook HD+ 16 | (Returned due to random reboots; defective tablet)
The Following User Says Thank You to sandsofmyst For This Useful Post: [ Click to Expand ]
 
ddpruitt
Old
(Last edited by ddpruitt; 24th January 2014 at 04:06 AM.)
#4  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2014
I followed the guide in the wiki but it's a no go. I removed and resynced just in case something didn't pull correctly (wouldn't be the first time). I'm grepping the makefiles for .config to try and narrow down the problem but it doesn't seem to be helping. I've compared the structures of the Galaxy Nexus and the Nook build trees and I don't see any huge differences.

<edit>
Found a bunch of config files but no .config, now I'm even more confused.
 
sandsofmyst
Old
(Last edited by sandsofmyst; 25th January 2014 at 12:08 AM.)
#5  
Senior Member
Thanks Meter 50
Posts: 194
Join Date: Oct 2009
Quote:
Originally Posted by ddpruitt View Post
I followed the guide in the wiki but it's a no go. I removed and resynced just in case something didn't pull correctly (wouldn't be the first time). I'm grepping the makefiles for .config to try and narrow down the problem but it doesn't seem to be helping. I've compared the structures of the Galaxy Nexus and the Nook build trees and I don't see any huge differences.

<edit>
Found a bunch of config files but no .config, now I'm even more confused.
It shouldn't be in what you received with the guide as your getting the device repo, but how you did it or something that is not configured correctly on your os.

Its a bit confusing but the error says what it wants and that's the key.

Edit: Tried to get my build to do the same but no go. Out of ideas for you. Sorry :(

Some other thoughts based on testing:

You get the correct manifest, etc. with the git and repo sync so again its not with what your getting. That all will build it without that weird error.

If there's no .config file in android/system/out/target/product/ovation/obj/KERNEL_OBJ/ then its because it didn't do enough to put one there yet. That shouldn't be the issue as it will rename a .config dir and continue or if it can't then have a different error.

Did you try make clean or make clobber and try building again?
HTC sensation 4G | cm11 albinoman ROM - 3/2/14 Workaround for incoming phone calls going to missed (including the swipe issue) with all cm based roms -> http://forum.xda-developers.com/show...&postcount=884
Nook HD+ 32 | cm11 emmc official ROM (331 hours of uptime reached with much daily use)
....Nook HD+ 16 | (Returned due to random reboots; defective tablet)
The Following User Says Thank You to sandsofmyst For This Useful Post: [ Click to Expand ]
 
ddpruitt
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2014
Quote:
Originally Posted by sandsofmyst View Post
It shouldn't be in what you received with the guide as your getting the device repo, but how you did it or something that is not configured correctly on your os.

Its a bit confusing but the error says what it wants and that's the key.

Edit: Tried to get my build to do the same but no go. Out of ideas for you. Sorry
I had someone else try it on an Ubuntu machine and it has the same issue. I'll try to get the verygreen repos instead of the official CM ones see if that helps
 
sandsofmyst
Old
(Last edited by sandsofmyst; 25th January 2014 at 01:13 AM.)
#7  
Senior Member
Thanks Meter 50
Posts: 194
Join Date: Oct 2009
Duplicated! ...

You have a .config directory in /

Exactly as the error says as I get the same error only by creating one there. Or I should say the exact same error line and no building.
HTC sensation 4G | cm11 albinoman ROM - 3/2/14 Workaround for incoming phone calls going to missed (including the swipe issue) with all cm based roms -> http://forum.xda-developers.com/show...&postcount=884
Nook HD+ 32 | cm11 emmc official ROM (331 hours of uptime reached with much daily use)
....Nook HD+ 16 | (Returned due to random reboots; defective tablet)
The Following User Says Thank You to sandsofmyst For This Useful Post: [ Click to Expand ]
 
ddpruitt
Old
#8  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2014
Quote:
Originally Posted by sandsofmyst View Post
Duplicated! ...

You have a .config directory in /

Exactly as the error says as I get the same error only by creating one there. Or I should say the exact same error line and no building.
You're an absolute genius. For some reason I did have a /.config directory, I never even though of looking in the root directories. Must be some strange KDE issue. I deleted it and build kicked off and it's rolling fine now.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes