Skip to content

Commit

Permalink
.github/workflows: clean packageinfo of linux kernel before defconfig
Browse files Browse the repository at this point in the history
This patch is a workaround to force the parsing of linux kernel package,
after the installation of the stm32 target.
The linux kernel package is scanned before the installation of the stm32
target. So the stm32 kernel module makefile
(target/linux/feeds/stm32/modules.mk) is not parsed because it doesn't
exists, consequently the package kmod-usb-stm32-usbh doesn't exists.

Awaiting an upstream patch, linux kernel packageinfo is deleted before to
call defconfig target to force the parsing of the linux kernel package.

Signed-off-by: Thomas Richard <[email protected]>
  • Loading branch information
thom24 committed Sep 19, 2024
1 parent 53d58e8 commit ab360e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/openwrt-feed-st.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
run: cd openwrt; ./scripts/feeds install -a -f
- name: Configure
run: |
rm -rf openwrt/tmp/info/.packageinfo-kernel_linux
printf "CONFIG_TARGET_stm32=y\\nCONFIG_TARGET_stm32_${{ matrix.subtarget }}=y\\nCONFIG_TARGET_stm32_${{ matrix.subtarget }}_DEVICE_${{ matrix.profile }}=y\\n" > openwrt/.config
make -C openwrt defconfig
- name: Build
Expand Down

0 comments on commit ab360e2

Please sign in to comment.