linux-headers-am33x-lagacy missing arch/arm/tools

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

linux-headers-am33x-lagacy missing arch/arm/tools

Postby Phosfor » Fri Feb 27, 2015 1:20 am

Hi everyone.

I want to make a custom kernelmodule for my BeagleBone (white).
I'm running the 3.8.13-legacy kernel so I installed linux-headers-am33x-lagacy with pacman.
Then I did
$this->bbcode_second_pass_code('', 'cd /usr/src/linux-3.8.13-38-ARCH
su
zcat /proc/config.gz > .config
make prepare')

The last command outputs the following:

$this->bbcode_second_pass_code('', '[root@beaglebone linux-3.8.13-38-ARCH]# make prepare
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/video/Kconfig:60:error: recursive dependency detected!
drivers/video/Kconfig:60: symbol FB is selected by DRM_KMS_HELPER
drivers/gpu/drm/Kconfig:28: symbol DRM_KMS_HELPER is selected by DRM_TILCDC
drivers/gpu/drm/tilcdc/Kconfig:1: symbol DRM_TILCDC depends on BACKLIGHT_LCD_SUPPORT
drivers/video/backlight/Kconfig:5: symbol BACKLIGHT_LCD_SUPPORT is selected by FB_BACKLIGHT
drivers/video/Kconfig:247: symbol FB_BACKLIGHT is selected by PMAC_BACKLIGHT
drivers/macintosh/Kconfig:134: symbol PMAC_BACKLIGHT depends on FB
warning: (USB_MUSB_HDRC) selects TWL6030_USB which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET) && TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS)
warning: (USB_MUSB_HDRC) selects TWL6030_USB which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET) && TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS)
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
scripts/Makefile.build:44: /usr/src/linux-3.8.13-38-ARCH/arch/arm/tools/Makefile: No such file or directory
make[1]: *** No rule to make target '/usr/src/linux-3.8.13-38-ARCH/arch/arm/tools/Makefile'. Stop.
/usr/src/linux-3.8.13-38-ARCH/arch/arm/Makefile:287: recipe for target 'archprepare' failed
make: *** [archprepare] Error 2')

Ignoring the warnings it says arch/arm/tools/Makefile is missing.
So I checked and there isn't even the folder tools in arch/arm.
I tried downloading the (3) files from kernel.org. This time make prepare worked but make modules_prepare was still missing other files.

I'm wondering:
Is there something I'm doing wrong? Do I have to change the config?
Is this package not intended for compiling kernel-modules? But then again what is it's use?
Or is this a bug of the header-package?
Phosfor
 
Posts: 2
Joined: Fri Feb 27, 2015 12:40 am

Re: linux-headers-am33x-lagacy missing arch/arm/tools

Postby Phosfor » Mon Mar 02, 2015 3:11 pm

Ok turns out I don't need to make modules_prepare.

And the reason I tried to do this was my bad. I just made a typo in my Makefile :oops:
Phosfor
 
Posts: 2
Joined: Fri Feb 27, 2015 12:40 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 4 guests